Open
Description
1. Title
AWS::ECS::TaskDefinition-ContainerDefinition-Image
2. Scope of request
Current issue we are experiencing: When updating the Image property of the TaskDefinition (for example choosing different tag) using AWS::CodeDeploy::BlueGreen and the Image property contains the intrinsic Ref function, no CodeDeploy deployment is triggered.
When replacing the intrinsic Ref function with the expected hard coded value the CodeDeploy deployment is triggered as expected when the Image property is updated.
3. Expected behavior
Intrinsic Ref functions inside the Image property should work together with AWS::CodeDeploy::BlueGreen
4. Suggest specific test cases
Common use case: Using Ref for account and region specific details
"Image": {
"Fn::Join": [
"",
[
{
"Ref": "AWS::AccountId"
},
".dkr.ecr.",
{
"Ref": "AWS::Region"
},
".",
{
"Ref": "AWS::URLSuffix"
},
"/<ECR-Repo>:<TAG>"
]
]
}
5. Helpful Links to speed up research and evaluation
6. Category
Use the categories as displayed in the AWS Management Console (simplified):
- Compute (ECS)
- Developer Tools (CodeDeploy)