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 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 #