Skip to content

Commit

Permalink
change bucket in cf
Browse files Browse the repository at this point in the history
  • Loading branch information
augustfengd committed Jan 27, 2025
1 parent c08ef37 commit a8eea60
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cloud/terraform/aws.tf
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,10 @@ import {

resource "aws_cloudfront_distribution" "blog-augustfeng-app" {
origin {
domain_name = aws_s3_bucket.augustfengd.bucket_regional_domain_name
domain_name = aws_s3_bucket.augustfeng-app.bucket_regional_domain_name
origin_access_control_id = aws_cloudfront_origin_access_control.sigv4-always-s3.id
origin_path = "/augustfeng.app/blog"
origin_id = aws_s3_bucket.augustfengd.bucket_regional_domain_name
origin_path = "/blog"
origin_id = aws_s3_bucket.augustfeng-app.bucket_regional_domain_name
}

aliases = [aws_acm_certificate.blog_augustfeng_app.domain_name]
Expand Down

0 comments on commit a8eea60

Please sign in to comment.