aws_route53_resolver_endpoint
provides details about a specific Route53 Resolver Endpoint.
This data source allows to find a list of IPaddresses associated with a specific Route53 Resolver Endpoint.
data "aws_route53_resolver_endpoint" "example" {
resolver_endpoint_id = "rslvr-in-1abc2345ef678g91h"
}
data "aws_route53_resolver_endpoint" "example" {
filter {
name = "NAME"
values = ["MyResolverExampleName"]
}
}
resolver_endpoint_id
- (Optional) ID of the Route53 Resolver Endpoint.filter
- (Optional) One or more name/value pairs to use as filters. There are
several valid keys, for a full reference, check out
Route53resolver Filter value in the AWS API reference.In addition to all arguments above, the following attributes are exported:
arn
- Computed ARN of the Route53 Resolver Endpoint.direction
- Direction of the queries to or from the Resolver Endpoint .ip_addresses
- List of IPaddresses that have been associated with the Resolver Endpoint.protocols
- The protocols used by the Resolver endpoint.resolver_endpoint_type
- The Resolver endpoint IP address type.status
- Current status of the Resolver Endpoint.vpc_id
- ID of the Host VPC that the Resolver Endpoint resides in.