-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
287 additions
and
173 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -73,6 +73,9 @@ | |
| }, | ||
| { | ||
| "path": "../../karpenter-provider-aws" | ||
| }, | ||
| { | ||
| "path": "../../terragrunt" | ||
| } | ||
| ] | ||
| } | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| .PHONY: help init validate plan fmt check clean | ||
|
|
||
| help: | ||
| @echo "Available targets:" | ||
| @echo " init - Initialize Terragrunt configurations" | ||
| @echo " validate - Validate all Terragrunt configurations" | ||
| @echo " plan - Run plan in dry-run mode across all configurations" | ||
| @echo " fmt - Format HCL files" | ||
| @echo " check - Run all checks (format, validate, plan)" | ||
| @echo " clean - Clean up Terragrunt cache and temporary files" | ||
|
|
||
| init: | ||
| @echo "Initializing Terragrunt configurations..." | ||
| terragrunt run-all init | ||
|
|
||
| validate: | ||
| @echo "Validating Terragrunt configurations..." | ||
| terragrunt run-all validate | ||
|
|
||
| plan: | ||
| @echo "Running plan in dry-run mode..." | ||
| terragrunt run-all plan --terragrunt-non-interactive | ||
|
|
||
| fmt: | ||
| @echo "Formatting HCL files..." | ||
| find . -type f -name "*.hcl" -exec terragrunt hclfmt {} \; | ||
|
|
||
| check: fmt validate plan | ||
| @echo "All checks completed" | ||
|
|
||
| clean: | ||
| @echo "Cleaning Terragrunt cache..." | ||
| find . -type d -name ".terragrunt-cache" -exec rm -rf {} + | ||
| find . -type f -name ".terraform.lock.hcl" -delete | ||
| find . -type f -name "terragrunt-debug.tfvars.json" -delete |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.