-
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]: Tf 5.0.0 crashes at apply step. #31586
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
We're facing the same problem with aws provider version set to "~> 4.0". The latest aws provider version 5.0.0 which was updated yesterday is probably causing this. |
We're having the same issue. Seems to be some problem in the latest release when upgrading from 4 to 5. It also doesn't seem to let you downgrade back to 4 because the state is altered in some backwards incompatible way |
@jcmcken same dilemma here, i forgot to add that. It won't allow me to rollback to < 5.0.0 because it says some resources were created with the new provider version. |
@kylet21 Thanks for the bug report. We are currently working on a fix for this issue |
This functionality has been released in v5.0.1 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.3.1
AWS Provider Version
5.0.0
Affected Resource(s)
Can not run an apply to add an application's dependent resources. This application has many different resources that need to be created and are interdependent.
Expected Behavior
Successful apply of changes
Actual Behavior
Crashes after a successful plan at the apply stage.
Relevant Error/Panic Output Snippet
Terraform Configuration Files
Adding an extra item to a
map
that is iterated over usingfor_each
. Copies of the resources already exist and the apply runs fine if not adding the new map item.Steps to Reproduce
Run apply after adding new item to a map that is iterated over using
for_each
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: