-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
[Bug]: elasticbeanstalk environment update issue #31575
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
I’ve worked with the customer to root cause and observed that there are two API calls i.e. Error: updating Elastic Beanstalk Environment (e-xxxxxxxxxxxx): InvalidParameterValue: Environment named Environment is in an invalid state for this operation. Must be Ready. |
hi, |
Also reproduce here Terraform version: 1.5.1 This bug is a live more then few month - and it seems I can not degrade the provider version. is this being handled? |
This functionality has been released in v5.40.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. 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. |
Terraform Core Version
1.4.6
AWS Provider Version
4.67.0
Affected Resource(s)
aws_elastic_beanstalk_environment
Expected Behavior
When updating environment settings and environment tags in the same plan, two API actions are called:
The expected behavior is that the two changes should be applied to the existing environment sequentially.
Actual Behavior
When the plan is applied, these two calls are made at the same time and UpdateEnvironment errors out consistently because the environment is being modified by UpdateTagsForResource.
It worked in version 4.62.0 and stopped working from 4.63.0 onwards.
Relevant Error/Panic Output Snippet
Terraform Configuration Files
Archive.zip
Steps to Reproduce
Unzip the Archive.zip file.
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
Cloudtrail Events:
UpdateTagsForResource
UpdateEnvironment
Would you like to implement a fix?
No
The text was updated successfully, but these errors were encountered: