-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Aws s3 static website hosting #98
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added some comments which could improve the deployment of the s3 static website.
|
||
|
||
|
||
# Documentation: https://www.terraform.io/docs/language/providers/requirements.html |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change Documentation link to https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket#static-website-hosting
# Documentation: https://www.terraform.io/docs/language/providers/requirements.html | ||
# See also: [aws/aws_s3_bucket/simple] (https://github.com/ContainerSolutions/terraform-examples/tree/main/aws/aws_s3_bucket/simple) | ||
# Explanation: Sets a Bucket for Static Website Hosting | ||
# Now you have to add your files to the bucket index.html and also acces with this naming scheme , dependig on your region: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider adding 2 s3_bucket_object referencing 2 files, index.html
and error.html
, which can also be added to this repo. A simple index.html
file can be found here
Link related issues:
The following short checklist should be used to make sure your PR is of good quality, and can be merged easily:
./run.sh
works correctly for all new examplesReviewers:
@ianmiell
@ttarczynski
@sanyer
@teszes
@choilmto