Closed ghost closed 7 years ago
The script will always create an A record. The domain name is inherited from the DHCP option set or you can use the zone tag. The script is not written to allow vanity host names. If you want a vanity host name, you need to create a CNAME record. That said, it wouldn't be that hard to modify the script to use the value of a tag as the host name.
I am looking at how I would do that. Any pointers?
I am afraid your code is too complicated for me to figure this out. Any chance that this feature is on your roadmap? I found someone else that has done a lambda script for updating an IP address for A records, but it does not create or delete them. It seems that no one else is working on this.
Is it possible to have the script create an A record instead of a CName record
For instance, instead of two records one would get created. For example: servername.domain.com A 100.100.100.100
This is because I am routing traffic between two VPC across regions. And AWS cannot resolve CNames across regions.