Skip to content
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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

rodrigorras
Copy link
Contributor

Link related issues:

  • Resolves # (if merging this resolves the issue)
    • Adds s3 Bucket static website hosting
  • Progress towards # (if it's incremental progress)
  • Changes/added features:
    • Static Website Hosting feature to S3

The following short checklist should be used to make sure your PR is of good quality, and can be merged easily:

Reviewers:
@ianmiell
@ttarczynski
@sanyer
@teszes
@choilmto

@ghost ghost self-requested a review September 21, 2021 13:26
Copy link

@ghost ghost left a 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
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

# 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:
Copy link

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

@melihc1 melihc1 added the aws AWS examples label Aug 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aws AWS examples
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants