hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.81k stars 9.16k forks source link

aws_wafv2_web_acl_logging_configuration: terraform plan says "Not supported by WAFv2 API" with single_header #18370

Closed kamatama41 closed 3 years ago

kamatama41 commented 3 years ago

Community Note

Terraform CLI and Terraform AWS Provider Version

Terraform v0.13.4

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.

resource "aws_wafv2_web_acl_logging_configuration" "waf_acl_logging" {
  log_destination_configs = [aws_kinesis_firehose_delivery_stream.waf_logs_stream.arn]
  resource_arn            = aws_wafv2_web_acl.waf_acl.arn
  redacted_fields {
    single_header {
      name = "cookie"
    }
  }
}

Debug Output

Panic Output

Expected Behavior

Warning message should not be shown.

Actual Behavior

Warning message is shown.

Steps to Reproduce

  1. terraform plan

Important Factoids

References

The deprecation warning seems to be caused by the pull request, but I think single_header should not be deprecated because it's still valid option.

ghost commented 3 years ago

This has been released in version 3.34.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!

ghost commented 3 years ago

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!