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
AWSTemplateFormatVersion: "2010-09-09" | |
Description: > | |
Launch a static website backed by an S3 bucket and served via https through cloudfront. | |
Assumes you have the following available already | |
* An address in mind (e.g. blog.example.com) | |
* An existing Route53 Hosted Zone for the domain | |
* A validated AWS ACM certificate arn for the desired web address which must be in eu-west-1 | |
Parameters: | |
HostedZoneID: | |
Description: > |
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
### Keybase proof | |
I hereby claim: | |
* I am matalo33 on github. | |
* I am matalo (https://keybase.io/matalo) on keybase. | |
* I have a public key ASCqqGeFt31RyPM0lxS9ut_YxwES_g3gFJIyREIwsHjaaQo | |
To claim this, I am signing this object: |
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
AWSTemplateFormatVersion: "2010-09-09" | |
Description: > | |
Create an S3 bucket and configure it for s3-website hosting | |
Create a record in a pre-existing Route53 HostedZone and point at the newly created bucket | |
Parameters: | |
HostedZoneID: | |
Description: The Hosted Zone ID in which to create the website DNS record | |
Type: AWS::Route53::HostedZone::Id | |
WebsiteAddress: | |
Description: > |