diff --git a/.github/workflows/terraform-terragrunt.yml b/.github/workflows/terraform-terragrunt.yml index d95ba7f..02b8078 100644 --- a/.github/workflows/terraform-terragrunt.yml +++ b/.github/workflows/terraform-terragrunt.yml @@ -41,13 +41,13 @@ jobs: run: | cd ./environment/stage terragrunt workspace select terragrunt - terragrunt init -terragrunt-non-interactive + terragrunt init echo "🔧 Terragrunt init completed!" - name: Terragrunt plan run: | cd ./environment/stage - terragrunt plan -terragrunt-non-interactive + terragrunt plan echo "📝 Terragrunt plan completed!" - name: Display success message diff --git a/terragrunt.hcl b/terragrunt.hcl index 265ea3d..266923c 100644 --- a/terragrunt.hcl +++ b/terragrunt.hcl @@ -1,7 +1,7 @@ # Define the Terraform backend configuration to use Terraform Cloud locals { organization = "kintaro" - workspace_tags = "kintaro_devops" + workspace_tags = "terragrunt" } generate "backend" { @@ -12,7 +12,7 @@ terraform { cloud { organization = "${local.organization}" workspaces { - tags = ["${local.workspace_tags}"] + name = "${local.workspace_tags}" } } required_providers {