Skip to content

Commit 564b7e9

Browse files
authored
Merge pull request #91 from aws-ia/ephemeral_project-updates
2 parents d35ac4f + 0fbd792 commit 564b7e9

File tree

15 files changed

+72
-58
lines changed

15 files changed

+72
-58
lines changed

.checkov.yml

Lines changed: 0 additions & 16 deletions
This file was deleted.

.config/.checkov.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
download-external-modules: False
2+
evaluate-variables: true
3+
directory:
4+
- ./
5+
framework:
6+
- terraform
7+
skip-check:
8+
- CKV2_GCP*
9+
- CKV_AZURE*
10+
- CKV2_AZURE*
11+
- CKV_TF_1 # default to Terraform registry instead of Git
12+
- CKV_AWS_109 # the given example intentionally violates this rule
13+
- CKV_AWS_111 # the given example intentionally violates this rule
14+
- CKV_AWS_356 # the given example intentionally violates this rule
15+
- CKV_AWS_7 # not required for this example
16+
- CKV_AWS_158 # not required for this example
17+
- CKV_AWS_66 # not required for this example
18+
- CKV_AWS_338 # not required for this example
19+
- CKV2_AWS_31 # false alarm
20+
summary-position: bottom
21+
output: 'cli'
22+
compact: True
23+
quiet: True
File renamed without changes.
File renamed without changes.
File renamed without changes.

.config/.tfsec.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"minimum_severity": "MEDIUM"
3+
}

.copier-answers.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This file is auto-generated, changes will be overwritten
2-
_commit: v0.0.6
3-
_src_path: /task/85181ca7-edb8-11ed-83ce-460647dd8021/projecttype
2+
_commit: v0.1.2
3+
_src_path: /task/fda2926f-d695-11ee-a46e-46fb9214c7b7/projecttype
44
starting_version: v0.0.0
55
version_file: VERSION
66

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ repos:
1010
hooks:
1111
- id: terraform-docs-go
1212
args:
13-
- "--config=.terraform-docs.yaml"
13+
- "--config=.config/.terraform-docs.yaml"
1414
- "--lockfile=false"
1515
- "--recursive"
1616
- "--recursive-path=examples/"

.project_automation/functional_tests/Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,3 @@ RUN curl -s https://raw.githubusercontent.com/aquasecurity/tfsec/master/scripts/
1010
RUN cd /tmp && \
1111
wget https://go.dev/dl/go${GO_VERSION}.linux-amd64.tar.gz && \
1212
tar -C /usr/local/bin -xzf go${GO_VERSION}.linux-amd64.tar.gz && chmod 755 /usr/local/bin/go
13-
14-
RUN pip3 install checkov

.project_automation/functional_tests/entrypoint.sh

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,7 @@ aws ssm get-parameter \
2727
--output "text" \
2828
--region "us-east-1" >> functional_test.tfvars
2929

30-
#********** Checkov Analysis *************
31-
echo "Running Checkov Analysis on root module"
32-
checkov --directory . --skip-path examples --framework terraform
33-
34-
echo "Running Checkov Analysis on terraform plan"
35-
terraform init
36-
terraform plan -out tf.plan -var-file functional_test.tfvars
37-
terraform show -json tf.plan > tf.json
38-
checkov
39-
40-
# #********** Terratest execution **********
30+
#********** Terratest execution **********
4131
echo "Running Terratest"
4232
export GOPROXY=https://goproxy.io,direct
4333
cd test

0 commit comments

Comments
 (0)