docs: fixed dns config in cloudformation template. (#1894)

This commit is contained in:
Noam 2020-08-08 13:28:20 +03:00 committed by GitHub
parent 6e72886efa
commit 7e117ad949
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 6 deletions

View File

@ -22,11 +22,6 @@ Parameters:
Description: > Description: >
The route 53 hosted zone name to create the `npm.<zone>` record in. Do not The route 53 hosted zone name to create the `npm.<zone>` record in. Do not
include the trailing dot! include the trailing dot!
Route53RecordHostedZoneId:
Type: String
Description: >
Hosted Zone ID for the load balancer. Find it here:
https://docs.aws.amazon.com/general/latest/gr/rande.html
Vpc: Vpc:
Type: AWS::EC2::VPC::Id Type: AWS::EC2::VPC::Id
Description: VPC to create this stack inside Description: VPC to create this stack inside
@ -261,7 +256,9 @@ Resources:
- Lb - Lb
- DNSName - DNSName
HostedZoneId: HostedZoneId:
Ref: Route53RecordHostedZoneId Fn::GetAtt:
- Lb
- CanonicalHostedZoneID
HostedZoneName: HostedZoneName:
Fn::Sub: ${DnsHostedZoneName}. Fn::Sub: ${DnsHostedZoneName}.
Name: Name: