From 9b45e8dd94fee78b56256778425fd7959bfbd9e0 Mon Sep 17 00:00:00 2001 From: WestonPlatter Date: Fri, 13 Jun 2025 13:40:18 -0600 Subject: [PATCH 1/3] feat: https://github.com/masterpointio/terraform-module-template/pull/44 for more context --- .gitignore | 7 ++++++- lib/os-modules/Taskfile.yaml | 19 ++++++------------- 2 files changed, 12 insertions(+), 14 deletions(-) diff --git a/.gitignore b/.gitignore index 9759109..86504e7 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,6 @@ -.cursor/rules/* \ No newline at end of file +.cursor/rules/* + +# Claude Code - we beleive engineers are responsible for the code they push no matter how it's generated. +# Therefore, configs specific to their coding practices are their responsibilty to judiciously manage. +.claude/* + diff --git a/lib/os-modules/Taskfile.yaml b/lib/os-modules/Taskfile.yaml index 5ecf564..80310dc 100644 --- a/lib/os-modules/Taskfile.yaml +++ b/lib/os-modules/Taskfile.yaml @@ -2,18 +2,7 @@ version: "3" vars: DEFAULT_MODULES: | - terraform-aws-ssm-agent \ - terraform-aws-tailscale \ - terraform-datadog-users \ - terraform-github-teams \ - terraform-github-organization \ - terraform-googleworkspace-users-groups-automation \ - terraform-postgres-config-dbs-users-roles \ - terraform-secrets-helper \ - terraform-spacelift-automation \ - terraform-spacelift-aws-integrations \ - terraform-spacelift-events-collector-audit-trail \ - terraform-spacelift-policies + terraform-googleworkspace-users-groups-automation SYNC_BRANCH: chore/sync-with-template SHARED_TMP_DIR: .tmp-template-sync tasks: @@ -40,13 +29,17 @@ tasks: .terraform-docs.yaml LICENSE aqua.yaml + .tflint.hcl + .checkov.yaml + .yamllint.yaml + .markdownlint.yaml cmds: - | # Convert newlines to spaces and remove backslashes modules=$(echo "{{.MODULES}}" | tr '\n' ' ' | sed 's/\\//g') for module in $modules do - echo "Syncing files to ../$module..." + echo "Syncing files to ../$module ..." for file in {{.FILES}} do echo " Syncing $file" From b06e7ed0eaf499e1e9532495413f976db766c2fc Mon Sep 17 00:00:00 2001 From: WestonPlatter Date: Fri, 13 Jun 2025 13:44:33 -0600 Subject: [PATCH 2/3] fix: bring modules list back --- lib/os-modules/Taskfile.yaml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/lib/os-modules/Taskfile.yaml b/lib/os-modules/Taskfile.yaml index 80310dc..0363c5b 100644 --- a/lib/os-modules/Taskfile.yaml +++ b/lib/os-modules/Taskfile.yaml @@ -2,7 +2,18 @@ version: "3" vars: DEFAULT_MODULES: | - terraform-googleworkspace-users-groups-automation + terraform-aws-ssm-agent \ + terraform-aws-tailscale \ + terraform-datadog-users \ + terraform-github-organization \ + terraform-github-teams \ + terraform-googleworkspace-users-groups-automation \ + terraform-postgres-config-dbs-users-roles \ + terraform-secrets-helper \ + terraform-spacelift-automation \ + terraform-spacelift-aws-integrations \ + terraform-spacelift-events-collector-audit-trail \ + terraform-spacelift-policies SYNC_BRANCH: chore/sync-with-template SHARED_TMP_DIR: .tmp-template-sync tasks: From c8d4ce0a0719a346884964d9c077033b3fa6c672 Mon Sep 17 00:00:00 2001 From: WestonPlatter Date: Fri, 13 Jun 2025 13:46:15 -0600 Subject: [PATCH 3/3] feat: order sync files a-z --- lib/os-modules/Taskfile.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/os-modules/Taskfile.yaml b/lib/os-modules/Taskfile.yaml index 0363c5b..ce50fd0 100644 --- a/lib/os-modules/Taskfile.yaml +++ b/lib/os-modules/Taskfile.yaml @@ -32,18 +32,18 @@ tasks: vars: MODULES: "{{if .CLI_ARGS}}{{.CLI_ARGS}}{{else}}{{.DEFAULT_MODULES}}{{end}}" FILES: >- - .github - .trunk + .checkov.yaml .coderabbit.yaml .editorconfig .gitignore + .github + .markdownlint.yaml .terraform-docs.yaml - LICENSE - aqua.yaml .tflint.hcl - .checkov.yaml + .trunk .yamllint.yaml - .markdownlint.yaml + LICENSE + aqua.yaml cmds: - | # Convert newlines to spaces and remove backslashes