Skip to content

Commit 3b36607

Browse files
authored
Merge pull request #102 from teamssix/main
fix: fix tencent tf
2 parents b50d48e + 1ed4998 commit 3b36607

File tree

2 files changed

+12
-4
lines changed
  • tencentcloud/cvm

2 files changed

+12
-4
lines changed

tencentcloud/cvm/cvm_ssrf/main.tf

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@ resource "tencentcloud_security_group_rule" "egress" {
6363
}
6464

6565
data "tencentcloud_instance_types" "instance_types" {
66-
cpu_core_count = 1
67-
memory_size = 1
66+
filter {
67+
name = "instance-family"
68+
values = ["S6"]
69+
}
70+
cpu_core_count = 2
71+
memory_size = 2
6872
}

tencentcloud/cvm/cvm_virtual_machine_disks_are_unencrypted/main.tf

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ resource "tencentcloud_instance" "instance" {
1111
}
1212

1313
data "tencentcloud_instance_types" "instance_types" {
14-
cpu_core_count = 1
15-
memory_size = 1
14+
filter {
15+
name = "instance-family"
16+
values = ["S6"]
17+
}
18+
cpu_core_count = 2
19+
memory_size = 2
1620
}

0 commit comments

Comments
 (0)