From f72fc7d94a9018fd7b9a03f61807c95807730d53 Mon Sep 17 00:00:00 2001 From: David Houck Date: Mon, 3 Apr 2023 10:40:23 -0400 Subject: [PATCH 1/2] feat: (IAC-427) Add pre-commit tool config.yaml template (#197) --- .pre-commit-config_template.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .pre-commit-config_template.yaml diff --git a/.pre-commit-config_template.yaml b/.pre-commit-config_template.yaml new file mode 100644 index 00000000..3d4304e0 --- /dev/null +++ b/.pre-commit-config_template.yaml @@ -0,0 +1,30 @@ +# See https://pre-commit.com for more information +# See https://pre-commit.com/hooks.html for more hooks +repos: +- repo: meta + hooks: + - id: check-hooks-apply +- repo: local + hooks: + - id: hadolint-docker-file-entrypoint + name: hadolint + entry: docker.io/hadolint/hadolint /bin/hadolint + language: docker_image + types: [dockerfile] + - id: shellcheck-docker-file-entrypoint + name: shellcheck + entry: docker.io/koalaman/shellcheck + language: docker_image + types: [shell] + - id: tflint-locally-installed + name: tflint + entry: tflint + language: system + types: [terraform] +- repo: https://github.com/pre-commit/pre-commit-hooks + rev: v4.4.0 + hooks: + - id: trailing-whitespace + - id: end-of-file-fixer + - id: check-added-large-files + - id: check-yaml From 3a2dcc249ca4b6206ced88382099e86855bfb35d Mon Sep 17 00:00:00 2001 From: David Houck Date: Wed, 5 Apr 2023 12:42:35 -0400 Subject: [PATCH 2/2] fix: (IAC-974) CAS instance fails to join kubernetes cluster using sample-input-ha.tfvars (#202) --- files/custom-data/additional_userdata.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/files/custom-data/additional_userdata.sh b/files/custom-data/additional_userdata.sh index de23807a..abd27236 100644 --- a/files/custom-data/additional_userdata.sh +++ b/files/custom-data/additional_userdata.sh @@ -1,10 +1,10 @@ -# Copyright © 2021-2023, SAS Institute Inc., Cary, NC, USA. All Rights Reserved. +# Copyright 2021-2023, SAS Institute Inc., Cary, NC, USA. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 ## -# +# # For AWS this is a script 'snippet' that is injected into another script -# which performs tasks that are AWS specific. +# which performs tasks that are AWS specific. # # Link: https://github.com/terraform-aws-modules/terraform-aws-eks/blob/master/templates/userdata.sh.tpl #