alicloud_cen_child_instance_route_entry_to_attachments
更新时间:
This data source provides Cen Child Instance Route Entry To Attachment available to the user.What is Child Instance Route Entry To Attachment
-> NOTE: Available in 1.195.0+
Example Usage
data "alicloud_cen_child_instance_route_entry_to_attachments" "default" {
child_instance_route_table_id = "vtb-t4nt0z5xxbti85c78nkzy"
transit_router_attachment_id = "tr-attach-f1fd1y50rql00emvej"
}
output "alicloud_cen_child_instance_route_entry_to_attachment_example_id" {
value = data.alicloud_cen_child_instance_route_entry_to_attachments.default.attachments.0.id
}
Argument Reference
The following arguments are supported:
ids- (Optional) Limit search to a list of specific IDs.The value is formulated as<cen_id>:<child_instance_route_table_id>:<transit_router_attachment_id>:<destination_cidr_block>.child_instance_route_table_id- (Required,ForceNew) The first ID of the resourceservice_type- (ForceNew,Optional) ServiceTypecen_id- (ForceNew,Optional) The ID of the CEN instance.transit_router_attachment_id- (Required,ForceNew) TransitRouterAttachmentIdoutput_file- (Optional) File name where to save data source results (after runningterraform plan).
Attributes Reference
The following attributes are exported in addition to the arguments listed above:
ids- Limit search to a list of specific IDs.The value is formulated as<cen_id>:<child_instance_route_table_id>:<transit_router_attachment_id>:<destination_cidr_block>.attachments- A list of Child Instance Route Entry To Attachment Entries. Each element contains the following attributes:id- The ID of the resource. The value is formulated as<cen_id>:<child_instance_route_table_id>:<transit_router_attachment_id>:<destination_cidr_block>.cen_id- The ID of the CEN instance.child_instance_route_table_id- The first ID of the resourcedestination_cidr_block- DestinationCidrBlockservice_type- ServiceTypestatus- The status of the resourcetransit_router_attachment_id- TransitRouterAttachmentId
该文章对您有帮助吗?