-
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
redacted_fields arguments for resource aws_wafv2_web_acl_logging_configuration are not making changes on AWS #14248
Comments
Hi @jiwuh, thank you for reporting this issue! I can confirm this is definitely a bug in the provider when the In addition, in cases where you want to redact several fields like in the example you've provided, while the Provider will not error at plan-time, the resource "aws_wafv2_web_acl_logging_configuration" "example" {
log_destination_configs = ["${aws_kinesis_firehose_delivery_stream.example.arn}"]
resource_arn = "${aws_wafv2_web_acl.example.arn}"
redacted_fields {
uri_path {}
}
redacted_fields {
method {}
}
redacted_fields {
query_string {}
}
} ^^ This example, however, will only be doable with the proposed fixed in #14319 as we still have the issue where fields represented by the empty block Hope this helps clarify the discrepancy you are seeing between the Console and the Provider configuration! If you have any further questions, please let me know 😃 |
This has been released in version 3.33.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 version: 0.13.0
AWS Provider Version: 2.70.0
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
The data fields passed are selected on the AWS console as shown below:
Actual Behavior
Some fields are not present on the AWS Console and even the ones present do not seem to take effect - there's no error message - but also there's no effect.
Also, the configurations are are identified as new changes each time "terraform plan" is run
Steps to Reproduce
terraform apply
The text was updated successfully, but these errors were encountered: