Skip to content

Commit

Permalink
use distinct names for resources in the workspace examples
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-cit committed Aug 6, 2024
1 parent c11095f commit 77bfd2f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/tf_cloudbuild_workspace_simple_github/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ module "tf_workspace" {
cloudbuildv2_repository_id = var.cloudbuildv2_repository_id
location = "us-central1"
trigger_location = "us-central1"
artifacts_bucket_name = "tf-configs-build-artifacts-${var.project_id}-gh"
log_bucket_name = "tf-configs-build-logs-${var.project_id}-gh"
create_state_bucket_name = "tf-configs-build-state-${var.project_id}-gh"

# allow log/state buckets to be destroyed
buckets_force_destroy = true
Expand Down
3 changes: 3 additions & 0 deletions examples/tf_cloudbuild_workspace_simple_gitlab/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ module "tf_workspace" {
cloudbuildv2_repository_id = var.cloudbuildv2_repository_id
location = "us-central1"
trigger_location = "us-central1"
artifacts_bucket_name = "tf-configs-build-artifacts-${var.project_id}-gl"
log_bucket_name = "tf-configs-build-logs-${var.project_id}-gl"
create_state_bucket_name = "tf-configs-build-state-${var.project_id}-gl"

# allow log/state buckets to be destroyed
buckets_force_destroy = true
Expand Down

0 comments on commit 77bfd2f

Please sign in to comment.