cn-terraform / terraform-aws-s3-static-website

Terraform Module for AWS to host Static Website on S3
https://registry.terraform.io/modules/cn-terraform/s3-static-website/aws
Apache License 2.0
20 stars 33 forks source link

Deprecated attribute - website_endpoint #44

Closed mchr3k closed 1 year ago

mchr3k commented 1 year ago

I get the following warning when using this module:

│ Warning: Deprecated attribute
│
│   on .terraform/modules/eu-west-1.frontend.website/outputs.tf line 41, in output "website_bucket_website_endpoint":
│   41:   value       = aws_s3_bucket.website.website_endpoint
│
│ The attribute "website_endpoint" is deprecated. Refer to the provider documentation for details.

This change is required as part of the V4.0 AWS provider upgrade: https://registry.terraform.io/providers/hashicorp/aws/latest/docs/guides/version-4-upgrade#website-website_domain-and-website_endpoint-arguments