Skip to content

Conversation

@tongyiming
Copy link
Collaborator

No description provided.

@andrew-tx andrew-tx added the run check run check label May 21, 2024
resource.TestCheckResourceAttr(id, "tags.hostname", "tci"),
),
Config: testAccCvmInstanceResource_BasicCreate,
Check: resource.ComposeTestCheckFunc(testAccCheckCvmInstanceExists("tencentcloud_instance.cvm_basic"), resource.TestCheckResourceAttr("tencentcloud_instance.cvm_basic", "tags.hostname", "tci"), resource.TestCheckResourceAttr("tencentcloud_instance.cvm_basic", "instance_status", "RUNNING"), resource.TestCheckResourceAttrSet("tencentcloud_instance.cvm_basic", "private_ip"), resource.TestCheckResourceAttrSet("tencentcloud_instance.cvm_basic", "vpc_id"), resource.TestCheckResourceAttrSet("tencentcloud_instance.cvm_basic", "subnet_id"), resource.TestCheckResourceAttrSet("tencentcloud_instance.cvm_basic", "project_id")),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里是否可以换行显示呢

Copy link
Collaborator

@andrew-tx andrew-tx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@andrew-tx andrew-tx changed the title feat(cvm):acctest-generate-cvm-test feat(cvm):[116613210] acctest-generate-cvm-test May 23, 2024
@andrew-tx andrew-tx merged commit 77a872a into master May 23, 2024
@andrew-tx andrew-tx deleted the feat/acctest-generate-cvm-test branch May 23, 2024 14:29
hellertang pushed a commit that referenced this pull request May 24, 2024
* update

* update

---------

Co-authored-by: mikatong <mikatong@tencent.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

run check run check

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants