You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Terrascan incorrectly assumes that S3 versioning has not been enabled, when it has.
Description : Enabling S3 versioning will enable easy recovery from both unintended user actions, like deletes and overwrites
File : example/s3.tf
Module Name : root
Plan Root : example
Line : 1
Severity : HIGH
Rule Name : s3Versioning
Rule ID : AC_AWS_0214
Resource Name : example
Resource Type : aws_s3_bucket
Category : Resilience
The text was updated successfully, but these errors were encountered:
lisenet
changed the title
Rule AC_AWS_0214 relies on deprecated Terraform code
Rule ID AC_AWS_0214 relies on deprecated Terraform code
Aug 16, 2023
Description
Terrascan relies on deprecated Terraform code.
What I Did
Using S3 versioning in Terraform
resource "aws_s3_bucket"
is deprecated, the correct way is to use the resourceaws_s3_bucket_versioning
instead.Example Terraform code that is used in this case:
Terrascan incorrectly assumes that S3 versioning has not been enabled, when it has.
The text was updated successfully, but these errors were encountered: