terraform-aws-ecs icon indicating copy to clipboard operation
terraform-aws-ecs copied to clipboard

Expand README section on ignore_task_definition_changes and Blue/Green deployments

Open andrewedstrom opened this issue 1 year ago β€’ 2 comments

Is your request related to a new offering from AWS?

No

Is your request related to a problem? Please describe.

I am trying to use terraform-aws-ecs to create an ECS cluster and service that I can then deploy via GitHub actions.

The design doc is super helpful, but it has one issue that's causing me trouble.

The section on ignore_task_definition_changes says that changes to load_balancer are ignored, and after the bullet that starts with "When using the above ignore_task_definition_changes setting..." a sketch of an example configuration using codedeploy is given. Unfortunately, big chunks of the example are "omitted for brevity," which makes it harder for me to set up something similar myself.

This is tricky because without figuring it out, I'm not sure how to make my terraform both set up a load balancer and ignore changes to the task definition in the service.

Describe the solution you'd like.

I'd love to see this example expanded, with nothing omitted for brevity. Maybe it could even be turned into a full-on example in the examples/ directory.

Describe alternatives you've considered.

I'll just have to go read the docs on all the resources mentioned in the example today and try to figure out how to configure them for myself.

Additional context

n/a

andrewedstrom avatar Jan 25 '24 01:01 andrewedstrom

This issue has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this issue will be closed in 10 days

github-actions[bot] avatar Feb 25 '24 00:02 github-actions[bot]

Nooo don't close this please

andrewedstrom avatar Feb 26 '24 20:02 andrewedstrom

This issue has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this issue will be closed in 10 days

github-actions[bot] avatar Mar 28 '24 00:03 github-actions[bot]

This issue was automatically closed because of stale in 10 days

github-actions[bot] avatar Apr 07 '24 00:04 github-actions[bot]

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

github-actions[bot] avatar May 07 '24 02:05 github-actions[bot]