Skip to content
This repository has been archived by the owner on Jan 30, 2025. It is now read-only.

Commit

Permalink
Improve formatting of json files
Browse files Browse the repository at this point in the history
  • Loading branch information
ruzickap committed May 12, 2020
1 parent ba4e782 commit c03b0f2
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 46 deletions.
48 changes: 24 additions & 24 deletions files/aws_route53-dns_change.json
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
{
"Comment": "A new record set for the zone.",
"Changes": [
{
"Action": "UPSERT",
"ResourceRecordSet": {
"Name": "*.${MY_DOMAIN}.",
"Type": "A",
"AliasTarget":{
"HostedZoneId": "${CANONICAL_HOSTED_ZONE_NAME_ID}",
"DNSName": "dualstack.${LOADBALANCER_HOSTNAME}",
"EvaluateTargetHealth": false
}
"Comment": "A new record set for the zone.",
"Changes": [
{
"Action": "UPSERT",
"ResourceRecordSet": {
"Name": "*.${MY_DOMAIN}.",
"Type": "A",
"AliasTarget": {
"HostedZoneId": "${CANONICAL_HOSTED_ZONE_NAME_ID}",
"DNSName": "dualstack.${LOADBALANCER_HOSTNAME}",
"EvaluateTargetHealth": false
}
},
{
"Action": "UPSERT",
"ResourceRecordSet": {
"Name": "${MY_DOMAIN}.",
"Type": "A",
"AliasTarget":{
"HostedZoneId": "${CANONICAL_HOSTED_ZONE_NAME_ID}",
"DNSName": "dualstack.${LOADBALANCER_HOSTNAME}",
"EvaluateTargetHealth": false
}
}
},
{
"Action": "UPSERT",
"ResourceRecordSet": {
"Name": "${MY_DOMAIN}.",
"Type": "A",
"AliasTarget": {
"HostedZoneId": "${CANONICAL_HOSTED_ZONE_NAME_ID}",
"DNSName": "dualstack.${LOADBALANCER_HOSTNAME}",
"EvaluateTargetHealth": false
}
}
]
}
]
}
44 changes: 22 additions & 22 deletions files/route_53_change_policy.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "route53:GetChange",
"Resource": "arn:aws:route53:::change/*"
},
{
"Effect": "Allow",
"Action": "route53:ChangeResourceRecordSets",
"Resource": "arn:aws:route53:::hostedzone/*"
},
{
"Effect": "Allow",
"Action": [
"route53:ListHostedZones",
"route53:ListHostedZonesByName",
"route53:ListResourceRecordSets"
],
"Resource": "*"
}
]
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "route53:GetChange",
"Resource": "arn:aws:route53:::change/*"
},
{
"Effect": "Allow",
"Action": "route53:ChangeResourceRecordSets",
"Resource": "arn:aws:route53:::hostedzone/*"
},
{
"Effect": "Allow",
"Action": [
"route53:ListHostedZones",
"route53:ListHostedZonesByName",
"route53:ListResourceRecordSets"
],
"Resource": "*"
}
]
}

0 comments on commit c03b0f2

Please sign in to comment.