From 2a35688953dce393ad7a07c7b016a6cba1fb27cb Mon Sep 17 00:00:00 2001 From: Kartik Shah Date: Tue, 5 Nov 2024 13:58:12 +0000 Subject: [PATCH] chore: allow setting backups bucket name (#233) --- modules/inception/gcp/variables.tf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/inception/gcp/variables.tf b/modules/inception/gcp/variables.tf index 7c3a90ba..1a2a2ced 100644 --- a/modules/inception/gcp/variables.tf +++ b/modules/inception/gcp/variables.tf @@ -33,6 +33,7 @@ variable "tf_state_bucket_name" {} variable "buckets_location" {} variable "tf_state_bucket_policy" { default = null } variable "backups_bucket_location" {} +variable "backups_bucket_name" {} variable "users" { type = list(object({ @@ -48,7 +49,7 @@ locals { name_prefix = var.name_prefix tf_state_bucket_name = var.tf_state_bucket_name tf_state_bucket_location = var.buckets_location - backups_bucket_name = "${local.name_prefix}-backups" + backups_bucket_name = var.backups_bucket_name backups_bucket_location = var.backups_bucket_location project = var.gcp_project inception_sa = var.inception_sa