Skip to content
This repository has been archived by the owner on Jul 2, 2024. 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 11, 2020
1 parent cb84bea commit 3fcb21d
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 42 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
}
}
]
}
]
}
36 changes: 18 additions & 18 deletions files/route_53_change_policy.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
{
"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:ListHostedZonesByName",
"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:ListHostedZonesByName",
"Resource": "*"
}
]
}

0 comments on commit 3fcb21d

Please sign in to comment.