https://pulumi.com logo
#aws
Title
# aws
t

tall-beard-99429

05/21/2021, 3:21 PM
Hi, i'm trying to create a Route53 Zone called "Primary" like the docs show (https://www.pulumi.com/docs/reference/pkg/aws/route53/zone/) however i get the error:
error creating Route53 Hosted Zone: InvalidDomainName: Primary-06bb170 is reserved by AWS!
any ideas how I can get around this?
b

billowy-army-68599

05/21/2021, 3:23 PM
Hi Alex, does the dns name need to be called "Primary" ? I'd recommend just giving it a different name
t

tall-beard-99429

05/21/2021, 3:24 PM
I have tried a variety of different names, and they all fail with the same error
Perhaps I don't understand this properly, Im trying to create a HostedZone
b

billowy-army-68599

05/21/2021, 3:43 PM
it needs to be something like
<http://abowers.com|abowers.com>
Copy code
const zone = new aws.route53.Zone("abowers", {
  name: "<http://abowers.com|abowers.com>"
});
t

tall-beard-99429

05/21/2021, 3:46 PM
Oh, that should probably be mentioned in the docs; the example thats there at the moment simply doesn't work and it isn't explained anywhere
b

billowy-army-68599

05/21/2021, 3:50 PM
our examples are there as a guide, in this particular case, it's a limitation of DNS itself - you can only register a domain name once. Would it have been clearer if the example had
<http://example.com|example.com>
in there?
t

tall-beard-99429

05/21/2021, 4:27 PM
Yeah
Also, the example on https://www.pulumi.com/docs/reference/pkg/aws/ec2clientvpn/endpoint/ doesn't really help much, since
Copy code
aws_acm_certificate.root_cert.arn,
and others on there aren't the response from creating the certificate, can those examples be improved also? I think it's meant to be
server_certificate.certificateAuthorityArn
but not certain
where
server_certificate
is the response from
new aws.acm.Certificate
112 Views