Hi, i'm trying to create a Route53 Zone called "Pr...
# aws
t
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
Hi Alex, does the dns name need to be called "Primary" ? I'd recommend just giving it a different name
t
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
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
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
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
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
139 Views