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

[Improvement] static-website/static-website - Better support for Lambda@Edge (breaking change!) #360

Merged
merged 13 commits into from
Nov 25, 2019

Conversation

michaelwittig
Copy link
Contributor

@michaelwittig michaelwittig commented Oct 18, 2019

Changelog:

  • BREAKING Parameter LambdaEdgeSubdirectoriesVersionArn was removed. If you use static-website/lambdaedge-index-document the output was renamed to ViewerRequestLambdaEdgeFunctionVersionARN and needs to be passed to static-website/static-website via the ViewerRequestLambdaEdgeFunctionVersionARN parameter.
  • Added alerts (parameter ParentAlertStack)
  • Parameters ViewerRequestLambdaEdgeFunctionVersionARN, OriginRequestLambdaEdgeFunctionVersionARN, OriginResponseLambdaEdgeFunctionVersionARN, and ViewerResponseLambdaEdgeFunctionVersionARN added
  • Works together with https://github.com/widdix/static-website-img-optimize

@@ -70,6 +70,7 @@ To improve the default CloudFront behavior, we developed a Lambda@Edge solution
1. Check the **I acknowledge that this template might cause AWS CloudFormation to create IAM resources.** checkbox.
1. Click **Create** to start the creation of the stack.
1. Wait until the stack reaches the state **CREATE_COMPLETE**
1. If you deployed the previous stack **not** to the us-east-1 (N. Virginia) region: TODO add docs to deploy the monitoring stack.
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

EvaluationPeriods: 1
ComparisonOperator: GreaterThanThreshold
Threshold: 0
AlarmActions:
Copy link
Contributor

Choose a reason for hiding this comment

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

What about the OK actions?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants