Bugfixes for automated version creation

This commit is contained in:
Oliver Gutperl
2019-03-28 17:42:28 +01:00
parent 9293626aa5
commit 5872e8e1a7
4 changed files with 14 additions and 11 deletions

View File

@@ -24,6 +24,14 @@ It allows you to have very nice outward facing URLs like "/cooltopic", that inte
Make sure that your CloudFront distribution handles the URL "/" directly by having the property "Default Root Object" set to "index.html".
## Updating
1. Install the application "standard-redirects-for-cloudfront".
2. Go to the Cloudformation Console
3. Select the Output Value, this is the ARN (including the version) for the Lambda function.
4. In CloudFront edit a **Behaviour** and add a **Lambda Function Association** with the *Event Type* "Origin Request" and enter the Lambda function ARN from the previous step.
5. Wait for the CloudFront distribution to deploy.
## Installation
### Installation via the Serverless Application Repository