I am trying to create an Amazon ECS (Blue Green) action (CodeDeployToECS
) in AWS CodePipeline. This will be done using Terraform, so the actions need to be manually specified.
According to the CodePipeline Pipeline Structure Reference under the Action Structure Requirements in CodePipeline, a CodeDeployToECS
action has 8 action configuration properties:
ApplicationName
DeploymentGroupName
Image1ArtifactName
Image1ContainerName
AppSpecTemplateArtifact
AppSpecTemplatePath
TaskDefinitionTemplatePath
TaskDefinitionTemplateArtifact
There were no documentations regarding the exact details of each action configuration property. I was able to infer some of the names mapping to the AWS console for the corresponding action. The mappings I was able to infer is shown below.
However, two action configuration properties still remains a mystery; the Image1ArtifactName
and the Image1ContainerName
properties. What do these two fields refer to?