File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -674,7 +674,7 @@ locals {
674674}
675675`
676676
677- const TkeExclusiveNetwork = `
677+ const TkeExclusiveNetwork = defaultAzVariable + `
678678data "tencentcloud_vpc_instances" "vpc" {
679679 name = "` + tkeExclusiveVpcName + `"
680680}
@@ -688,6 +688,10 @@ data "tencentcloud_instance_types" "default" {
688688 name = "zone"
689689 values = [var.default_az]
690690 }
691+ filter {
692+ name = "instance-charge-type"
693+ values = ["POSTPAID_BY_HOUR"]
694+ }
691695 cpu_core_count = 2
692696 exclude_sold_out = true
693697}
Original file line number Diff line number Diff line change @@ -196,7 +196,7 @@ func testAccCheckTkeScaleWorkerExists(n string) resource.TestCheckFunc {
196196 }
197197}
198198
199- const testAccTkeScaleWorkerInstanceBasic = defaultAzVariable + TkeExclusiveNetwork + TkeDataSource + defaultSecurityGroupData
199+ const testAccTkeScaleWorkerInstanceBasic = TkeExclusiveNetwork + TkeDataSource + defaultSecurityGroupData
200200
201201const testAccTkeScaleWorkerInstance string = testAccTkeScaleWorkerInstanceBasic + `
202202
You can’t perform that action at this time.
0 commit comments