Skip to content

Commit

Permalink
Test terraform configs (plan only)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlCutter committed Aug 22, 2024
1 parent e325bb5 commit ce0865a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions deployment/modules/gcp/cloudbuild/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,18 @@ resource "google_cloudbuild_trigger" "docker" {
]
wait_for = ["docker_build_example"]
}
step {
id = "terraform_plan_all"
name = "cloud-builders-community/terragrunt"
args = ["plan-all"]
env = [
"TF_IN_AUTOMATION=1",
"TF_INPUT=false",
"TF_VAR_project_id=${var.project_id}"
]
dir = "deploy/live"
wait_for = ["-"]
}
options {
logging = "CLOUD_LOGGING_ONLY"
}
Expand Down

0 comments on commit ce0865a

Please sign in to comment.