-
-
Save efekarakus/4a25fff86552b8c870859390cd514c23 to your computer and use it in GitHub Desktop.
Sample output from DescribeChangeSet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Changes": [ | |
{ | |
"Type": "Resource", | |
"ResourceChange": { | |
"Action": "Modify", | |
"LogicalResourceId": "AutoScalingPolicyECSServiceAverageCPUUtilization", | |
"PhysicalResourceId": "arn:aws:autoscaling:us-west-2:1111:scalingPolicy:afab24c7-b829-41e0-bde0-3ce3bcf72537:resource/ecs/service/voting-app-test-Cluster-8Y10IYk3CdLG/voting-app-test-api-Service-8EnK3erhIjcG:policyName/api-ECSServiceAverageCPUUtilization-ScalingPolicy", | |
"ResourceType": "AWS::ApplicationAutoScaling::ScalingPolicy", | |
"Replacement": "Conditional", | |
"Scope": [ | |
"Properties" | |
], | |
"Details": [ | |
{ | |
"Target": { | |
"Attribute": "Properties", | |
"Name": "ScalingTargetId", | |
"RequiresRecreation": "Always" | |
}, | |
"Evaluation": "Dynamic", | |
"ChangeSource": "ResourceReference", | |
"CausingEntity": "AutoScalingTarget" | |
} | |
] | |
} | |
}, | |
{ | |
"Type": "Resource", | |
"ResourceChange": { | |
"Action": "Modify", | |
"LogicalResourceId": "AutoScalingTarget", | |
"PhysicalResourceId": "service/voting-app-test-Cluster-8Y10IYk3CdLG/voting-app-test-api-Service-8EnK3erhIjcG|ecs:service:DesiredCount|ecs", | |
"ResourceType": "AWS::ApplicationAutoScaling::ScalableTarget", | |
"Replacement": "Conditional", | |
"Scope": [ | |
"Properties" | |
], | |
"Details": [ | |
{ | |
"Target": { | |
"Attribute": "Properties", | |
"Name": "ResourceId", | |
"RequiresRecreation": "Always" | |
}, | |
"Evaluation": "Dynamic", | |
"ChangeSource": "ResourceAttribute", | |
"CausingEntity": "Service.Name" | |
} | |
] | |
} | |
}, | |
{ | |
"Type": "Resource", | |
"ResourceChange": { | |
"Action": "Add", | |
"LogicalResourceId": "BasicParameter", | |
"ResourceType": "AWS::SSM::Parameter", | |
"Scope": [], | |
"Details": [] | |
} | |
}, | |
{ | |
"Type": "Resource", | |
"ResourceChange": { | |
"Action": "Modify", | |
"LogicalResourceId": "Service", | |
"PhysicalResourceId": "arn:aws:ecs:us-west-2:1111:service/voting-app-test-Cluster-8Y10IYk3CdLG/voting-app-test-api-Service-8EnK3erhIjcG", | |
"ResourceType": "AWS::ECS::Service", | |
"Replacement": "False", | |
"Scope": [ | |
"Properties" | |
], | |
"Details": [ | |
{ | |
"Target": { | |
"Attribute": "Properties", | |
"Name": "TaskDefinition", | |
"RequiresRecreation": "Never" | |
}, | |
"Evaluation": "Static", | |
"ChangeSource": "ResourceReference", | |
"CausingEntity": "TaskDefinition" | |
} | |
] | |
} | |
}, | |
{ | |
"Type": "Resource", | |
"ResourceChange": { | |
"Action": "Modify", | |
"LogicalResourceId": "TaskDefinition", | |
"PhysicalResourceId": "arn:aws:ecs:us-west-2:1111:task-definition/voting-app-test-api:8", | |
"ResourceType": "AWS::ECS::TaskDefinition", | |
"Replacement": "True", | |
"Scope": [ | |
"Properties" | |
], | |
"Details": [ | |
{ | |
"Target": { | |
"Attribute": "Properties", | |
"Name": "ContainerDefinitions", | |
"RequiresRecreation": "Always" | |
}, | |
"Evaluation": "Dynamic", | |
"ChangeSource": "ResourceAttribute", | |
"CausingEntity": "AddonsStack.Outputs.RdsEndpoint" | |
}, | |
{ | |
"Target": { | |
"Attribute": "Properties", | |
"Name": "ContainerDefinitions", | |
"RequiresRecreation": "Always" | |
}, | |
"Evaluation": "Dynamic", | |
"ChangeSource": "ResourceAttribute", | |
"CausingEntity": "AddonsStack.Outputs.RdsSecret" | |
}, | |
{ | |
"Target": { | |
"Attribute": "Properties", | |
"Name": "Cpu", | |
"RequiresRecreation": "Always" | |
}, | |
"Evaluation": "Dynamic", | |
"ChangeSource": "DirectModification" | |
}, | |
{ | |
"Target": { | |
"Attribute": "Properties", | |
"Name": "Cpu", | |
"RequiresRecreation": "Always" | |
}, | |
"Evaluation": "Static", | |
"ChangeSource": "ParameterReference", | |
"CausingEntity": "TaskCPU" | |
} | |
] | |
} | |
} | |
], | |
"ChangeSetName": "voting-app-4rdn5ibba3u-3yy529uj35m", | |
"ChangeSetId": "arn:aws:cloudformation:us-west-2:1111:changeSet/voting-app-4rdn5ibba3u-3yy529uj35m/6732b0c3-379d-494e-891c-03dcc22e7ac2", | |
"StackId": "arn:aws:cloudformation:us-west-2:1111:stack/voting-app-test-api/96abf550-2862-11eb-b4dd-065e58f6d219", | |
"StackName": "voting-app-test-api", | |
"Description": null, | |
"Parameters": [ | |
{ | |
"ParameterKey": "WorkloadName", | |
"ParameterValue": "api" | |
}, | |
{ | |
"ParameterKey": "TaskCPU", | |
"ParameterValue": "2048" | |
}, | |
{ | |
"ParameterKey": "TaskMemory", | |
"ParameterValue": "6144" | |
}, | |
{ | |
"ParameterKey": "ContainerImage", | |
"ParameterValue": "1111.dkr.ecr.us-west-2.amazonaws.com/voting-app/api:pipeline-voting-app-copilot-example-voting-app-api-BuildProject-b2f3c680-b32c-4466-8d53-b42b0f059676" | |
}, | |
{ | |
"ParameterKey": "TaskCount", | |
"ParameterValue": "1" | |
}, | |
{ | |
"ParameterKey": "ContainerPort", | |
"ParameterValue": "8080" | |
}, | |
{ | |
"ParameterKey": "AddonsTemplateURL", | |
"ParameterValue": "https://stackset-voting-app-infr-pipelinebuiltartifactbuc-5s8f8pg52k7x.s3.us-west-2.amazonaws.com/manual/1605652612/api.addons.stack.yml" | |
}, | |
{ | |
"ParameterKey": "LogRetention", | |
"ParameterValue": "30" | |
}, | |
{ | |
"ParameterKey": "EnvName", | |
"ParameterValue": "test" | |
}, | |
{ | |
"ParameterKey": "AppName", | |
"ParameterValue": "voting-app" | |
} | |
], | |
"CreationTime": "2020-11-20T00:06:41.510000+00:00", | |
"ExecutionStatus": "AVAILABLE", | |
"Status": "CREATE_COMPLETE", | |
"StatusReason": null, | |
"NotificationARNs": [], | |
"RollbackConfiguration": { | |
"RollbackTriggers": [] | |
}, | |
"Capabilities": [ | |
"CAPABILITY_NAMED_IAM", | |
"CAPABILITY_AUTO_EXPAND" | |
], | |
"Tags": [ | |
{ | |
"Key": "copilot-service", | |
"Value": "api" | |
}, | |
{ | |
"Key": "copilot-application", | |
"Value": "voting-app" | |
}, | |
{ | |
"Key": "copilot-environment", | |
"Value": "test" | |
} | |
] | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment