Open kevinneufeld opened 5 months ago
We are also hitting this error with multiple values in the list. While we're able to filter out these headers during log ingestion, it would be great to be able to prevent these from logging to our S3 bucket as well. 👍
Describe the Bug
When
single_header
property has more than one header in the list, Terraform PLAN fails withError: Too many single_header blocks
Expected Behavior
Since
redacted_fields
can only accept one block of each property type (method
,uri_path
,query_string
andsingle_header
), the expectation is for multipleredacted_fields
for eachsingle_header
Steps to Reproduce
Screenshots
No response
Environment
No response
Additional Context
One possible (BREAKING) fix would be to change the
redacted_fields
from a map object to just an object and separate the dynamic blocks.