We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ae4cb6 commit 8470b8fCopy full SHA for 8470b8f
tencentcloud/resource_tc_cbs_storage_attachment_test.go
@@ -87,12 +87,13 @@ func testAccCheckCbsStorageAttachmentExists(n string) resource.TestCheckFunc {
87
}
88
89
90
-const testAccCbsStorageAttachmentConfig = defaultAzVariable + defaultImages + `
+const testAccCbsStorageAttachmentConfig = defaultInstanceVariable + defaultAzVariable + `
91
resource "tencentcloud_instance" "test_cbs_attach" {
92
instance_name = "test-cbs-attach-cvm"
93
availability_zone = var.default_az
94
- image_id = var.default_img_id
+ image_id = data.tencentcloud_images.default.images.0.image_id
95
system_disk_type = "CLOUD_PREMIUM"
96
+ instance_type = data.tencentcloud_instance_types.default.instance_types.0.instance_type
97
98
99
resource "tencentcloud_cbs_storage" "foo" {
0 commit comments