Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow ignore changes for some fields like desired_capacit #2

Merged
merged 2 commits into from
Dec 24, 2019

Conversation

athom
Copy link

@athom athom commented Dec 24, 2019

sometimes, in production, ECS instances will be auto scaling, and the desired_capacity already quite different.
it will be helpful to allow ignore changes like desired_capacity,
which makes the apply won't affect the current nodes number, but only other fields.
it is backward compatibility.

example usage

module "container_service_cluster" {
  source = "azavea/terraform-aws-ecs-cluster"
  ...
  ignore_changes = ["desired_capacity"]
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants