Skip to content

Instantly share code, notes, and snippets.

@kwalski
kwalski / AWS_Single_LetsEncrypt.yaml
Created May 15, 2019 11:23 — forked from samihamine/AWS_Single_LetsEncrypt.yaml
LetsEncrypt SSL config for Elastic Beanstalk single instances - Webroot mode
# (!) Based on : https://gist.github.com/tony-gutierrez/198988c34e020af0192bab543d35a62a
# Dont forget to set the env variable "CERTDOMAIN" and "EMAIL"
# Also note that this config is using the LetsEncrypt staging server, remove the flag when ready!
Resources:
sslSecurityGroupIngress:
Type: AWS::EC2::SecurityGroupIngress
Properties:
GroupId: {"Fn::GetAtt" : ["AWSEBSecurityGroup", "GroupId"]}
IpProtocol: tcp