Skip to content

Commit

Permalink
Fixing CDN name (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoDiazL authored Aug 2, 2024
1 parent b595caa commit b581387
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions terraform_code/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ resource "aws_cloudfront_distribution" "cdn_static_site_default_cert" {
enabled = true
is_ipv6_enabled = true
default_root_object = var.aws_site_root_object
comment = "CDN for ${var.aws_site_bucket_name} static"
comment = "CDN for ${local.s3_bucket_name} static"

origin {
domain_name = aws_s3_bucket.aws_site_website_bucket.bucket_regional_domain_name
Expand Down Expand Up @@ -189,7 +189,7 @@ resource "aws_cloudfront_distribution" "cdn_static_site" {
enabled = true
is_ipv6_enabled = true
default_root_object = var.aws_site_root_object
comment = "CDN for ${var.aws_site_bucket_name}"
comment = "CDN for ${local.s3_bucket_name}"

origin {
domain_name = aws_s3_bucket.aws_site_website_bucket.bucket_regional_domain_name
Expand Down

0 comments on commit b581387

Please sign in to comment.