AWS CloudFormation stack for setting up a CloudFront Distribution redirect to custom origin with SSL configured to support TLSv1.1 and above.
Based on the the information from the Intercom Developer site
DomainName
RequiredPreExistingLogsBucket
optionalCertificateArn
Required
aws cloudformation deploy --template-file templates/master.yml --stack-name docs-intercom --parameter-overrides $(cat parameters/example.com)
aws cloudformation delete-stack --stack-name docs-intercom
Note: the S3 logging bucket will need to be manually deleted
This stack does not create the Route 53 DNS entry that is left to the user.