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
id: terraform_fmt
exclude: (^generate-code/)
#AC_AWS_0369 - I do have Flow Logs Enabled. It is done dynamically so terrascan does not see it
#AC_AWS_0479 - this is being done, line 91 of modules/ec2_complete/main.tf sets it. It is done dynamically so terrascan does not see it
#AC_AWS_0480 - detailed monitoring is set to true via variables. Line 52 of modules/ec2_complete/main.tf consumes and sets the variables. They are set to true
###terrascan is INCORRECTLY flagged 'optional' as an Experiment. It was released in 1.3.0 of terraform.
###I have opened this issue - Incorrectly Flagging optional as Experimental #1580
###I see no way to ignore checking for experiments after hours of googling. So commenting out for now
#aws-ec2-enable-at-rest-encryption - They are set to be encrypted. It is done dynamically so terraform_tfsec does not see it
#aws-ec2-require-vpc-flow-logs-for-all-vpcs - I am setting Flow Logs. It is done dynamically so terraform_tfsec does not see it
#aws-s3-enable-bucket-logging - I do have logging enabled. It is done dynamically so terraform_tfsec does not see it
#aws-ec2-enforce-http-token-imds - Yes this is set dynamically. It is done dynamically so terraform_tfsec does not see it
repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.81.0
hooks:
exclude: (^generate-code/)
args:
files: ^IaC/environments/2-test|^IaC/environments/3-staging|^IaC/environments/4-prod|^IaC/modules
exclude: (.template/.$|./examples/.|./test/.*)
args:
exclude: (^generate-code/)
#AC_AWS_0369 - I do have Flow Logs Enabled. It is done dynamically so terrascan does not see it
#AC_AWS_0479 - this is being done, line 91 of modules/ec2_complete/main.tf sets it. It is done dynamically so terrascan does not see it
#AC_AWS_0480 - detailed monitoring is set to true via variables. Line 52 of modules/ec2_complete/main.tf consumes and sets the variables. They are set to true
###terrascan is INCORRECTLY flagged 'optional' as an Experiment. It was released in 1.3.0 of terraform.
###I have opened this issue - Incorrectly Flagging optional as Experimental #1580
###I see no way to ignore checking for experiments after hours of googling. So commenting out for now
args:
#aws-ec2-enable-at-rest-encryption - They are set to be encrypted. It is done dynamically so terraform_tfsec does not see it
#aws-ec2-require-vpc-flow-logs-for-all-vpcs - I am setting Flow Logs. It is done dynamically so terraform_tfsec does not see it
#aws-s3-enable-bucket-logging - I do have logging enabled. It is done dynamically so terraform_tfsec does not see it
#aws-ec2-enforce-http-token-imds - Yes this is set dynamically. It is done dynamically so terraform_tfsec does not see it
files: ^IaC/environments/2-test|^IaC/environments/3-staging|^IaC/environments/4-prod|^IaC/modules
files: ^generate-code
NAME="Amazon Linux"
VERSION="2"
ID="amzn"
ID_LIKE="centos rhel fedora"
VERSION_ID="2"
PRETTY_NAME="Amazon Linux 2"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2"
HOME_URL="https://amazonlinux.com/"
Description
Trying to run the above configuration and now terrascan just hangs and never completes.
What I Did
I let it run for 20 minutes.
Command pasted above.
The text was updated successfully, but these errors were encountered: