tencentcloud_route_table_association

最近更新时间:2025-09-04 14:56:13

我的收藏

描述

腾讯云私有网络-路由表关联子网

示例

resource "tencentcloud_route_table_association" "demo_route_table_association" {
route_table_id = "rtb-5soot5sy"
subnet_id = var.app_target.subnet.id
}

参数说明

类型
名称
数据类型
说明
必填
region
string
地域,如:ap-guangzhou,默认使用 provider 中定义的 region 也可以在 resource 中指定地域,覆盖默认设置
availability_zone
string
可用区
route_table_id
string
路由表ID
subnet_id
string
子网ID
可选
count
int
资源数量,默认为 1 如果为 0 则不创建资源
activity_id
int
计费活动 ID,保留字段
生成
id
string
资源实例 ID
create_time
string
资源创建时间