awsdocs / elastic-beanstalk-samples

This repository contains code and configuration samples (e.g. .ebextensions) for AWS Elastic Beanstalk.
Apache License 2.0
1.22k stars 889 forks source link

Sample to perform http to https Redirect in CloudFormation #134

Open colinbjohnson opened 4 years ago

colinbjohnson commented 4 years ago

I have been trying to find a way to create an "HTTP to HTTPS" redirect method utilizing an AWS::ElasticBeanstalk::Environment in CloudFormation. The samples include documentation for doing this via a "Custom Resource" (https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/customize-containers-format-resources-eb.html) but I'm unable to find a way to accomplish the same thing via CloudFormation.

hrvojepavlinovic commented 1 year ago

@colinbjohnson I have the same issue, have you managed to figure it out meanwhile?