Skip to content

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.

3 participants