Skip to content

Commit

Permalink
fix satellite bucket
Browse files Browse the repository at this point in the history
  • Loading branch information
ben851 committed Dec 16, 2024
1 parent 25fbad7 commit 497a408
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion aws/common/s3.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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.cbs_satellite_bucket_name
force_destroy = var.force_destroy_s3
billing_tag_value = "notification-canada-ca-${var.env}"
attach_lb_log_delivery_policy = true
Expand Down
2 changes: 1 addition & 1 deletion env/terragrunt.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ inputs = merge(
elb_account_ids = {
"${local.config_inputs.region}" = "${local.secret_inputs.elb_account_id}"
}
cbs_satellite_bucket_name = "cbs-satellite-${local.secret_inputs.account_id}"
cbs_satellite_bucket_name = local.config_inputs.env != "dev" ? "cbs-satellite-${local.secret_inputs.account_id}" : "cbs-satellite-notification-dev"
}
)

Expand Down

0 comments on commit 497a408

Please sign in to comment.