Skip to content

aws_vpclattice_service_network_vpc_association private dns support #45602

@mlechonczak

Description

@mlechonczak

Description

The Terraform AWS Provider does not currently expose parameters required to control private DNS behavior when associating a VPC with a Service Network via the aws_vpclattice_service_network_vpc_association resource.

To support this new AWS functionality, Terraform needs additional arguments to configure DNS preferences and enable custom-domain-based resolution via VPC Lattice.

Affected Resource(s) or Data Source(s)

  • aws_vpclattice_service_network_vpc_association resource

Potential Terraform Configuration

# Example of usage
private_dns_enabled = true
dns_options = {
  private_dns_preference   = "verified_and_specified_domains" # possible options: all_domains, verified_domains_only, verified_and_specified_domains, specified_domains_only
  private_dns_specified_domains = ["db.example.com", "cache.example.com"]
}

References

No response

Would you like to implement the enhancement?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementRequests to existing resources that expand the functionality or scope.service/vpclatticeIssues and PRs that pertain to the vpclattice service.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions