You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: "Network operator, only applicable to open CLB. Valid values are `CMCC`(China Mobile), `CTCC`(Telecom), `CUCC`(China Unicom) and `BGP`. If this ISP is specified, network billing method can only use the bandwidth package billing (BANDWIDTH_PACKAGE).",
161
161
},
162
+
"load_balancer_pass_to_target": {
163
+
Type: schema.TypeBool,
164
+
Optional: true,
165
+
Default: true,
166
+
Description: "Whether the target allow flow come from clb. If value is true, only check security group of clb, or check both clb and backend instance security group.",
167
+
},
168
+
"master_zone_id": {
169
+
Type: schema.TypeString,
170
+
Optional: true,
171
+
Description: "Setting master zone id of cross available zone disaster recovery, only applicable to open CLB.",
172
+
},
173
+
"zone_id": {
174
+
Type: schema.TypeString,
175
+
Optional: true,
176
+
Description: "Available zone id, only applicable to open CLB.",
177
+
},
178
+
"slave_zone_id": {
179
+
Type: schema.TypeString,
180
+
Optional: true,
181
+
Description: "Setting slave zone id of cross available zone disaster recovery, only applicable to open CLB. this zone will undertake traffic when the master is down",
182
+
},
162
183
},
163
184
}
164
185
}
@@ -197,11 +218,7 @@ func resourceTencentCloudClbInstanceCreate(d *schema.ResourceData, meta interfac
197
218
if (targetRegionInfoRegion!=""&&targetRegionInfoVpcId=="") || (targetRegionInfoRegion==""&&targetRegionInfoVpcId!="") {
198
219
returnfmt.Errorf("[CHECK][CLB instance][Create] check: region and vpc_id must be set at same time")
199
220
}
200
-
if_, ok:=d.GetOk("security_groups"); ok {
201
-
ifnetworkType==CLB_NETWORK_TYPE_INTERNAL {
202
-
returnfmt.Errorf("[CHECK][CLB instance][Create] check: INTERNAL network_type do not support this operation with sercurity_groups")
Description: "Custom mode cluster, you can specify the number of pods for each node. corresponding to the existed_instances_para.instance_ids parameter.",
598
+
=======
599
+
"os": {
600
+
Type: schema.TypeString,
601
+
Optional: true,
602
+
ValidateFunc: validateImageID,
603
+
Description: "The valid image id, format of img-xxx.",
0 commit comments