You can now access AWS PrivateLink based services privately from within your VPC using Private DNS names.
# Copy-paste your Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. For
# security, you can also encrypt the files using our GPG public key.
RequiresAWS SDK v1.27.1:
This feature would be a great boon for implementing SSL over private links.
I just tried this on the AWS console, and the process goes like this:
domain verification name
and domain verification value
and insert a new TXT value in your DNS server (eg, route53)@ewbankkit I think the affected resource is actually aws_vpc_endpoint_service, no? The aws_vpc_endpoint already has support for private DNS.
@mattsawyer77 Correct, there's a flag on the VPC Endpoint that determines whether or not Private DNS is enabled but the actual DNS name is specified on the VPC Endpoint Service.
I've updated above.
Thanks.
Have raised a PR for this as it's affecting us too!
How do we get a review for this PR?
is there anyway to get this reviewed and merged in the next release?
Want to 馃憤 this as well - though, it'd be good to get the attributes from the DNS entry so I can use them with another provider to actually set the DNS record. I did a bit of digging and i wasn't sure what the "right way" to expose those variables were - have done a few things w/ AWS API in golang, but not with terraform. It looks like the ServiceConfiguration
struct references PrivateDnsNameConfiguration
that has those values. Could I make some variables like private_dns_name_record_{name, type, value}
that map to *ec2.PrivateDnsNameConfiguration.{Name,Type,Value}
to get that change in?
Most helpful comment
is there anyway to get this reviewed and merged in the next release?