-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
aws_servicequotas_service_quota
requires modifying tfstate if whitespace is accidently added in quota_code
#17970
Comments
Note that this bug will also occur if it doesn't satisfy the regex |
Hi @Stretch96, thank you for raising this issue and apologies you came across this behavior. In the resource |
Thanks for that info, I'll give it a whirl My Go knowledge is limitied, so this may take some time ... but hey, what are lockdowns for right 😬 ... |
Hi @anGie44, I believe this PR fixes the issue 👍 |
This has been released in version 3.37.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 for triage. Thanks! |
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! |
Community Note
Terraform CLI and Terraform AWS Provider Version
Terraform v0.14.7
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
Run terraform apply:
Fix the resource by removing the whitespace:
Run terraform apply again:
Actual Behaviour
Run terraform apply:
Fix the resource by removing the whitespace:
Run terraform apply again:
Try untainting and applying:
terraform plan
has the same resultThe resource can only be destroyed
Once fixing the
id
andquota_code
in the tfstate, terraform apply works:Steps to Reproduce
Introduce whitespace into the
quota_code
References
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/servicequotas_service_quota
The text was updated successfully, but these errors were encountered: