aws-samples / amazon-cloudfront-secure-static-site

Create a secure static website with CloudFront for your registered domain.
Apache License 2.0
385 stars 140 forks source link

Add CopyFunc custom resource #48

Closed ConnorKirk closed 2 years ago

ConnorKirk commented 2 years ago

Issue #, if available:

Description of changes: The CopyFunc Custom Resource was removed in a prior PR #42 This meant that the CopyFunc is not invoked when the template is deployed, so the website files are not uploaded to the S3 bucket.

This PR replaces the custom resource to invoke the CopyFunc

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.