Skip to content

Commit

Permalink
Use terragrunt for live
Browse files Browse the repository at this point in the history
  • Loading branch information
AlCutter committed Jul 4, 2024
1 parent 17a89fe commit 498ea27
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 83 deletions.
67 changes: 0 additions & 67 deletions deployment/live/example-gcp/main.tf

This file was deleted.

2 changes: 0 additions & 2 deletions deployment/live/example-gcp/terraform.tfvars

This file was deleted.

23 changes: 23 additions & 0 deletions deployment/live/example-gcp/terragrunt.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
terraform {
source = "${get_repo_root()}/deployment/modules/gcs-log"
}

locals {
project_id = "trillian-tessera"
location = "us-central1"
base_name = "example-gcs"
}

remote_state {
backend = "gcs"

config = {
project = local.project_id
location = local.location
bucket = "${local.project_id}-${local.base_name}-terraform-state"

gcs_bucket_labels = {
name = "terraform_state_storage"
}
}
}
14 changes: 0 additions & 14 deletions deployment/live/example-gcp/variables.tf

This file was deleted.

0 comments on commit 498ea27

Please sign in to comment.