-
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
go panic while configure existing launch_template #24009
Comments
v4.8.0terraform-provider-aws/internal/service/ec2/launch_template.go Lines 1291 to 1293 in 2def299
v4.5.0terraform-provider-aws/internal/service/ec2/launch_template.go Lines 1812 to 1818 in 392d1c1
There was an explicit check for |
@jkroepke Thanks for reporting this issue. spot_options {
} should prevent the crash. |
Related: #23766 (comment). |
@ewbankkit That workaround is not useful if you have conditional spot options (as we have). It's still present in v4.9.0_x5:
Which makes it impossible to apply anything to a running cluster (which is pretty bad...) |
Any progress on this? |
I worked around it using
|
This functionality has been released in v4.63.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. |
Community Note
Terraform CLI and Terraform AWS Provider Version
Affected Resource(s)
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
Actual Behavior
Steps to Reproduce
terraform apply
Important Factoids
References
Panic maybe introduced in
since, go panic does not happens on provider version 4.5.0, which not include the PR.
The text was updated successfully, but these errors were encountered: