From d6a8acbf94f5d2bafd6be385085f279df5e0a7e8 Mon Sep 17 00:00:00 2001 From: Vincent Illiano Date: Mon, 18 Nov 2024 12:20:58 -0500 Subject: [PATCH 1/2] fix: permissions set in dockerfile (PSKD-903) --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3a41d036..0d95a637 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,9 +16,9 @@ RUN yum -y install git openssh jq which \ && curl -sLO https://storage.googleapis.com/kubernetes-release/release/v$KUBECTL_VERSION/bin/linux/amd64/kubectl \ && chmod 755 ./kubectl /viya4-iac-aws/docker-entrypoint.sh \ && mv ./kubectl /usr/local/bin/kubectl \ - && chmod g=u -R /etc/passwd /etc/group /viya4-iac-aws \ && git config --system --add safe.directory /viya4-iac-aws \ - && terraform init + && terraform init \ + && chmod g=u -R /etc/passwd /etc/group /viya4-iac-aws ENV TF_VAR_iac_tooling=docker ENTRYPOINT ["/viya4-iac-aws/docker-entrypoint.sh"] From b473f7dafd621a42218d185b20c69d554d23e8a8 Mon Sep 17 00:00:00 2001 From: Vincent Illiano Date: Mon, 18 Nov 2024 16:06:09 -0500 Subject: [PATCH 2/2] fix: fix linter config (PSKD-903) --- linting-configs/.tflint.hcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linting-configs/.tflint.hcl b/linting-configs/.tflint.hcl index 3c7aca71..825a2b61 100644 --- a/linting-configs/.tflint.hcl +++ b/linting-configs/.tflint.hcl @@ -8,7 +8,7 @@ # For more information on TFlint Ruleset for AWS, see https://github.com/terraform-linters/tflint-ruleset-aws/blob/master/docs/rules/README.md config { - module = false + call_module_type = "all" } plugin "aws" {