summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--stacks/blog.tpl12
1 files changed, 12 insertions, 0 deletions
diff --git a/stacks/blog.tpl b/stacks/blog.tpl
index 1ee89c1..7e40838 100644
--- a/stacks/blog.tpl
+++ b/stacks/blog.tpl
@@ -166,6 +166,18 @@
"Type": "A"
}
},
+ "BlogAliasAAAARecord": {
+ "Type": "AWS::Route53::RecordSet",
+ "Properties": {
+ "AliasTarget": {
+ "DNSName": {"Fn::GetAtt": ["CFDistribution", "DomainName"]},
+ "HostedZoneId": {"Ref": "CloudFrontHostedZone"}
+ },
+ "HostedZoneId": {"Ref": "HostedZone"},
+ "Name": {"Ref": "DomainName"},
+ "Type": "AAAA"
+ }
+ },
"URIRewriteLambdaLogGroup": {
"Type": "AWS::Logs::LogGroup",
"Properties": {