-
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
[Bug]: 5.24 provider stalls during plan phase #34257
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
@mire3212 Thanks for raising this issue 👏. |
I am also seeing this issue with 5.24. Downgrading to The plan does eventually compute, but it takes many minutes for Terraform to even start the planning process.
In my case, this is with AWS SSO credentials loading from a profile in You can see the fantastically slow credential load in the log below, on the last line, where the time delta is enormous:
|
I've tested with both
This specific configuration relies on the |
Seeing the same behavior. Running Quickfix for now, skipping terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 5.22.0, != 5.24"
}
}
} |
Relates #34234. |
Might relate to aws/aws-sdk-go-v2#2353 We have also experienced significantly downgraded performance (3 minute plans instead of 30 seconds previously), but downgrading to prior versions doesn't seem to improve things 😢 |
aws/aws-sdk-go-v2#2355 fixes aws/aws-sdk-go-v2#2353 and will likely be available in today's AWS SDK for Go v2 release which we should merge for this week's v5.25.0 Terraform AWS Provider release. |
This functionality has been released in v5.25.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.5.7
AWS Provider Version
5.24.0
Affected Resource(s)
Terraform stalls while performing
terraform plan
. The init and validation phases work without issue, but using plan will just sit and stall and never complete.Rolling back to provider 5.23.0 allows the plan to complete as expected.
Expected Behavior
terraform plan
should complete and report the expected actions needed.Actual Behavior
CPU is consumed but nothing happens.
Relevant Error/Panic Output Snippet
Terraform Configuration Files
Any configuration
Steps to Reproduce
Create a new configuration with the latest provider code and attempt to execute
terraform plan
Debug Output
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: