UPDATE: rewritten question
I have an ec2 instance launched via terraform which is unreachable; I manually launched the exact same type of instance, based on the exact same image and was able to connect to it no issues.
Comparing the 2 instances, the only differences I can see is in network settings:
Public IPv4 DNSis listed for the reachable (manually launched) instance, but blank for the terraformed instance.Answer private resource DNS nameis listed asIPv4 (A)for the reachable instance and blank for the terraformed instance.
Q: How do I provide this missing piece of infra?
- the dns provider seems to be for setting up custom domains? I don't need that / don't have a custom domain name I want to use for this server.
- the different record types are confusing to me because I'm not a networking expert.
Can anyone point me in the right direction to specify this in terraform?