Terraform data source for managing an AWS VPC Lattice Service.
data "aws_vpclattice_service" "example" {
name = "example"
}
The arguments of this data source act as filters for querying the available VPC lattice services. The given filters must match exactly one VPC lattice service whose data will be exported as attributes.
name
- (Optional) Service name.service_identifier
- (Optional) ID or Amazon Resource Name (ARN) of the service.This data source exports the following attributes in addition to the arguments above:
arn
- ARN of the service.auth_type
- Type of IAM policy. Either NONE
or AWS_IAM
.certificate_arn
- Amazon Resource Name (ARN) of the certificate.custom_domain_name
- Custom domain name of the service.dns_entry
- DNS name of the service.id
- Unique identifier for the service.status
- Status of the service.tags
- List of tags associated with the service.