The App Mesh Virtual Router data source allows details of an App Mesh Virtual Service to be retrieved by its name and mesh_name.
data "aws_appmesh_virtual_router" "test" {
name = "example-router-name"
mesh_name = "example-mesh-name"
}
This data source supports the following arguments:
name
- (Required) Name of the virtual router.mesh_name
- (Required) Name of the mesh in which the virtual router existsThis data source exports the following attributes in addition to the arguments above:
arn
- ARN of the virtual router.created_date
- Creation date of the virtual router.last_updated_date
- Last update date of the virtual router.resource_owner
- Resource owner's AWS account ID.spec
- Virtual routers specification. See the aws_appmesh_virtual_router
resource for details.tags
- Map of tags.