-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
Tag error for ECS in govcloud partion using default_tags #19185
Comments
different partition but similar ticket #18134 |
Hi @pjaudiomv, thank you for raising this issue! I believe a workaround is feasible similar to #19213 (comment) if you are using an existing ECS service resource, though not if you're creating the resource from scratch; instead of |
Ahh that makes sense, I will try that. Thank you. |
Sure thing @pjaudiomv ! Let us know if you're still seeing the tagging errors even with the workaround. |
just tested and the workaround worked fine. thanks again. |
It looks like you can tag |
Marking this issue as stale due to inactivity. This helps our maintainers find and focus on the active issues. If this issue receives no comments in the next 30 days it will automatically be closed. Maintainers can also remove the stale label. If this issue was automatically closed and you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. 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. |
Provider version 3.38.0
Terraform 0.15.1
when using
default_tags
feature apply fails as it tries to create tags on ecs resource.Community Note
Terraform CLI and Terraform AWS Provider Version
Affected Resource(s)
resource
aws_ecs_service
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Debug Output
Panic Output
Expected Behavior
resource is created , aws provider should not attempt to tag ecs service on govcloud
Actual Behavior
Error thrown because listing tags of aws_ecs_cluster is not supported in aws-gov partitions.
Steps to Reproduce
terraform apply
Important Factoids
I also tried adding an lifecycle ignore tag on the resource and that didnt work
References
The text was updated successfully, but these errors were encountered: