From 3f00a12878aa9d96fb07f5c57fd95b82300ed17a Mon Sep 17 00:00:00 2001 From: Vincent Illiano Date: Tue, 19 Nov 2024 10:36:39 -0500 Subject: [PATCH] fix: permissions set in dockerfile (PSKD-903) Signed-off-by: Vincent Illiano --- Dockerfile | 4 ++-- linting-configs/.tflint.hcl | 2 +- 2 files changed, 3 insertions(+), 3 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"] diff --git a/linting-configs/.tflint.hcl b/linting-configs/.tflint.hcl index 3c7aca71..024d17eb 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 = "none" } plugin "aws" {