Skip to content

Commit

Permalink
Merge pull request #9 from mxfactorial/s3-deprecation-warning
Browse files Browse the repository at this point in the history
remove s3 attribute deprecation warning
  • Loading branch information
phuonghuynh authored Aug 23, 2022
2 parents 939d8be + 1dac91e commit 0f932ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloudfront.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ resource "aws_cloudfront_distribution" "main" {

origin {
origin_id = "origin-${var.fqdn}"
domain_name = aws_s3_bucket.main.website_endpoint
domain_name = aws_s3_bucket_website_configuration.main.website_endpoint

# https://docs.aws.amazon.com/AmazonCloudFront/latest/
# DeveloperGuide/distribution-web-values-specify.html
Expand Down

0 comments on commit 0f932ba

Please sign in to comment.