Fix deprecated attributes warnings, add website_logs_bucket_id output, make www domain alias optional, make CORS rule https specific where possible, remove unused aws_s3_bucket_website_configuration #49
Add output website_logs_bucket_id to expose the bucket which contains website logs
Make www domain alias optional based on a new parameter - www_website_redirect_enabled
Make CORS rule https specific where possible
Remove aws_s3_bucket_website_configuration which is unused because Cloudfront is connected to S3 using the “S3” origin type rather than treating S3 as a web server
Changes:
website_bucket_website_endpoint
andwebsite_bucket_website_domain
which use deprecated attributes - https://registry.terraform.io/providers/hashicorp/aws/latest/docs/guides/version-4-upgrade#website-website_domain-and-website_endpoint-arguments. Addresses issue #44.website_logs_bucket_id
to expose the bucket which contains website logswww_website_redirect_enabled
aws_s3_bucket_website_configuration
which is unused because Cloudfront is connected to S3 using the “S3” origin type rather than treating S3 as a web server