Describe the bug
when a user enters the url without https he is taken to the site via http.
- force http to https in the cloudfront distribution by modifying the cloudformation template default for the cloudfront dist in
lib/templateDefaults.js
the example bellow applies the appropriate settings to the CF template called template
template.Resources.CloudFrontDist.Properties.DistributionConfig.DefaultCacheBehavior["ViewerProtocolPolicy"] = "redirect-to-https"
Describe the bug
when a user enters the url without https he is taken to the site via http.
lib/templateDefaults.jsthe example bellow applies the appropriate settings to the CF template called template