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

Added fix for ECS service-linked role (AWSServiceRoleForECS) issue #509

Merged
merged 1 commit into from
Jan 7, 2020

Conversation

mandatoryprogrammer
Copy link
Contributor

This is a fix for the eventual-consistency issue with the ECS service-linked role AWSServiceRoleForECS. Terraform is currently unable to handle the eventually-consistent nature of the ECS service-linked role and so it fails when doing terraform apply with ECS services. In order to address this we pre-emptively create the role before running any terraform apply operations.

More info about this terraform bug can be found here:
hashicorp/terraform-provider-aws#11417

AWS eventual-consistency is an absolute bitch.

@mandatoryprogrammer
Copy link
Contributor Author

Worth noting that this does reveal that terraform plan isn't perfect (or rather that terraform itself isn't).

@mandatoryprogrammer mandatoryprogrammer merged commit 76ba041 into master Jan 7, 2020
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.

1 participant