-
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
AWSConfig custom rule couldn't be updated #25254
Comments
Hey @clement-cunin 👋 Thank you for taking the time to raise this! So that we have all of the necessary information in order to look into this, can you supply debug logs (redacted as needed) as well? |
I just reproduct with the last version of terraform:
The debug log of AWS call:
|
Bug is still reproducable:
|
Relates #24057. |
This functionality has been released in v5.39.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
Start with custom config rule as defined in documentation (with tags)
Panic Output
Error creating AWSConfig rule: Failed to create AWSConfig rule: InvalidParameterValueException: PolicyText is required when Owner is CUSTOM_POLICY
Actual Behavior
The first terraform apply work's fine to create the AWSConfig custom rule.
But if try to update the tag value, terraform fail to apply change on it.
Expected Behavior
Terraform should be able to update tags on AWSCustom rule
Steps to Reproduce
terraform apply
terraform apply
Important Factoids
/
References
The text was updated successfully, but these errors were encountered: