Last active
March 13, 2020 08:39
-
-
Save dblencowe/39fd6b2a39372441b26eb8e2d244b3e9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .deploy/terraform/static-site/s3.tf | |
resource "aws_s3_bucket" "website_bucket" { | |
bucket = var.domain_name | |
acl = "public-read" | |
policy = data.aws_iam_policy_document.website_policy.json | |
website { | |
index_document = "index.html" | |
error_document = "index.html" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment