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
@JacobWeyer, I have the same question. I believe this module will only create the CodeDeploy resource(s) once and the triggering mechanism is left upto you. The best I can think of is to use a Terraform local exec resource to manually run an aws-cli deploy command to trigger the actual deployment. Let me know if you have any findings that suggest otherwise!
I've used this module in conjunction with an AWS ECS CodePipeline module which is triggered upon artifacts changes.
There are 3 of these artifacts:
appspec.yml
task_definition.json
container image tag
Terraform generates these artifacts from source (checked in template files) and populates the templates using interpolation for various environment variables. This is then zipped up and uploaded to S3 for the appspec and task definition.
The container image tag is simply listening for a specific tag to be pushed to an ECR Repo. For example master-ci for a CI pipeline.
After the initial deploy are you redeploying the terraform or doing a code deploy command?
The text was updated successfully, but these errors were encountered: