diff --git a/aws/common/s3.tf b/aws/common/s3.tf index e3216dff8..3826842f7 100644 --- a/aws/common/s3.tf +++ b/aws/common/s3.tf @@ -371,7 +371,7 @@ module "cbs_logs_bucket" { source = "github.com/cds-snc/terraform-modules//S3_log_bucket?ref=v6.1.5" count = var.create_cbs_bucket ? 1 : 0 - bucket_name = var.env != "dev" ? var.cbs_satellite_bucket_name : var.cbs_satellite_bucket_name + "-dev" + bucket_name = var.env != "dev" ? var.cbs_satellite_bucket_name : "${var.cbs_satellite_bucket_name}-dev" force_destroy = var.force_destroy_s3 billing_tag_value = "notification-canada-ca-${var.env}" attach_lb_log_delivery_policy = true