Closed TiansuYu closed 5 months ago
Are you running pre-commit-terraform
as Docker container or not? In the latter case, please provide output of terraform version
command from the same directory where validated resource is based in.
What I mean is that this most probably has nothing to do with pre-commit-terarform
, but is related to your local setup.
The file_extension
attribute under extended_s3_configuration
block was added in v5.39.0 of Terraform provider for AWS. If you have lower version of the provider installed locally, then the error.
@yermulnik Thanks for pointing that out, I wasn't expecting that to be a minor version issue, this solved the problem once I pinned a higher provider version. Thanks a lot!
Describe the bug
pre-commit hook
terraform_validate
falsely flag the attributeaws_kinesis_firehose_delivery_stream.extended_s3_configuration.file_extension
asUnsupported argument
:How can we reproduce it?
create a firehose stream e.g. w/
and run the pre-commit hook
Environment information
MacOS