Relative Content

Tag Archive for amazon-web-servicesterraformdnsamazon-route53

Why is my NS record name incorrect in aws?

I am trying to create an NS record for my hosted zone, dev.example.com. The name of the record should be dev-api.example.com. However, when applying the terraform to the dev environment, it shows up in AWS route53 as dev-api.example.com.dev.example.com for the record name. Why might this be happening? Below is the relevant code.