Skip to content

Commit

Permalink
action
Browse files Browse the repository at this point in the history
  • Loading branch information
mostafa6765 committed Jun 30, 2024
1 parent 074f4ee commit 4d96ee2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/terraform-terragrunt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions terragrunt.hcl
Original file line number Diff line number Diff line change
@@ -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" {
Expand All @@ -12,7 +12,7 @@ terraform {
cloud {
organization = "${local.organization}"
workspaces {
tags = ["${local.workspace_tags}"]
name = "${local.workspace_tags}"
}
}
required_providers {
Expand Down

0 comments on commit 4d96ee2

Please sign in to comment.