-
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
Fix ECS cluster ARN attribute name/value for aws_batch_compute_environment resource #1809
Fix ECS cluster ARN attribute name/value for aws_batch_compute_environment resource #1809
Conversation
Hi @rxacevedo In principle the change makes sense, but there may be people who are (for any weird) reason using the wrong field and this PR contains breaking change in that sense. Would you therefore mind keeping the existing field there and marking it as FYI: We made a promise to stick to semantic versioning of providers from 1.0.0, see https://www.hashicorp.com/blog/hashicorp-terraform-provider-versioning/ Thanks. |
Hi @radeksimko - thanks for the prompt response. No problem - I've gone ahead and added
I used |
@radeksimko Actually - another observation, this is an exported attribute and not an input on the resource itself, so perhaps there is no warning to print since there is no user input for this? Let me know if allowing both attributes to exist/be exported and having one marked as |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
am not finding any logic that explicitly prints these warnings, so was wondering if you could point me in the direction.
This is actually a known issue I reported a while back hashicorp/terraform#7569
I think we can ignore it from the provider's perspective as there isn't much more we can do here.
Sorry for the confusion.
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! |
Description
Small change here, the ECS Cluster ARN attribute was named
ecc_cluster_arn
and was actually being assigned the ARN of the compute environment instead of the cluster. I have updated the code to use the ECS cluster ARN instead, as well updating the attribute name in the code/documentation toecs_cluster_arn
.Test