Skip to content

Expand README section on ignore_task_definition_changes and Blue/Green deployments #154

@andrewedstrom

Description

@andrewedstrom

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions