-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Resource "aws_ecs_task_definition" shows as modified each time terraform is applied #5323
Comments
Hi @geeshans 👋 Sorry you are running into unexpected behavior. It looks like the Thanks! |
Hi @bflad , Thanks for taking a look. The full output.
The tf scripts can be accessed at https://github.com/geeshans/ecs-cluster Cheers, |
Your container definitions' portMapping config misses the hostPort. This issue is a duplicate of #3401 |
Yes adding a
Thank you! |
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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Community Note
Terraform Version
Terraform v0.11.7
Affected Resource(s)
aws_ecs_task_definition
Terraform Configuration Files
Debug Output
Expected Behavior
No resources should show as changed
Actual Behavior
aws_ecs_task_definition shows as modified which in turn rebuild that resource
Steps to Reproduce
terraform apply
References
The text was updated successfully, but these errors were encountered: