You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to deploy on ECS/Fargate using Cloudformation AWS::CodeDeploy::BlueGreen Hook I get this error:
'CodeDeployBlueGreenHook' of type AWS::CodeDeploy::BlueGreen failed with message: Condition layout is incorrect FIELD_NAME at [Source: UNKNOWN; line: -1, column: -1] (through reference chain: aws.cfn.Template["Resources"]->java.util.LinkedHashMap["BlueTaskDefinition"]->aws.cfn.ecs.TaskDefinition["Properties"]->aws.cfn.ecs.TaskDefinitionProperties["ContainerDefinitions"]->java.util.LinkedHashSet[0]->aws.cfn.ecs.taskdefinition.ContainerDefinition["DependsOn"]->java.util.LinkedHashSet[0])
This only happens when in the ContainerDefinitions there are DependsOn properties between containers.
1. Title
AWS::CodeDeploy::BlueGreen
2. Scope of request
When trying to deploy on ECS/Fargate using Cloudformation AWS::CodeDeploy::BlueGreen Hook I get this error:
'CodeDeployBlueGreenHook' of type AWS::CodeDeploy::BlueGreen failed with message: Condition layout is incorrect FIELD_NAME at [Source: UNKNOWN; line: -1, column: -1] (through reference chain: aws.cfn.Template["Resources"]->java.util.LinkedHashMap["BlueTaskDefinition"]->aws.cfn.ecs.TaskDefinition["Properties"]->aws.cfn.ecs.TaskDefinitionProperties["ContainerDefinitions"]->java.util.LinkedHashSet[0]->aws.cfn.ecs.taskdefinition.ContainerDefinition["DependsOn"]->java.util.LinkedHashSet[0])
This only happens when in the ContainerDefinitions there are DependsOn properties between containers.
TaskDefinition Sample:
3. Category
Developer Tools:
CodeDeploy
Compute:
ECS, Fargate, EFS
The text was updated successfully, but these errors were encountered: