Skip to content

Commit

Permalink
setting force destroy to true for staging system status (#1360)
Browse files Browse the repository at this point in the history
  • Loading branch information
ben851 authored Jun 6, 2024
1 parent a59bf82 commit 1020fa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws/system_status_static_site/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module "system_status_static_site" {
billing_tag_value = var.billing_tag_value
hosted_zone_id = var.route_53_zone_arn
s3_bucket_name = "notification-canada-ca-${var.env}-system-status"
force_destroy_s3_bucket = var.force_destroy_s3
force_destroy_s3_bucket = var.env == "staging" ? true : var.force_destroy_s3
cloudfront_query_string_forwarding = true

providers = {
Expand Down

0 comments on commit 1020fa5

Please sign in to comment.