Skip to content

Commit

Permalink
chore: update to latest simple_static_website module (#1651)
Browse files Browse the repository at this point in the history
Update to the latest major version of the module which requires us to
explicitly set a variable controlling the creation of a hosted zone.
  • Loading branch information
patheard authored Nov 8, 2024
1 parent a0c975a commit 6a5d333
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion aws/system_status_static_site/main.tf
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
module "system_status_static_site" {
source = "github.com/cds-snc/terraform-modules//simple_static_website?ref=v9.6.4"
source = "github.com/cds-snc/terraform-modules//simple_static_website?ref=v10.0.0"

domain_name_source = var.env == "production" ? "status.notification.canada.ca" : "status.${var.env}.notification.cdssandbox.xyz"
billing_tag_value = var.billing_tag_value
hosted_zone_id = var.route53_zone_id
is_create_hosted_zone = false
s3_bucket_name = "notification-canada-ca-${var.env}-system-status"
force_destroy_s3_bucket = true
cloudfront_query_string_forwarding = true
Expand Down

0 comments on commit 6a5d333

Please sign in to comment.