Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion tencentcloud/services/ccn/resource_tc_ccn_attachment_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,11 @@ resource tencentcloud_ccn main {
bandwidth_limit_type = "INTER_REGION_LIMIT"
}

data "tencentcloud_user_info" "info" {}

resource tencentcloud_ccn_attachment attachment_ccnuin {
ccn_id = tencentcloud_ccn.main.id
ccn_uin = "100022770164"
ccn_uin = data.tencentcloud_user_info.info.owner_uin
instance_type = "VPC"
instance_id = tencentcloud_vpc.vpc.id
instance_region = var.region
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,6 @@ resource "tencentcloud_vpn_gateway" "my_cgw" {

data "tencentcloud_vpn_gateways" "cgws" {
id = tencentcloud_vpn_gateway.my_cgw.id
depends_on = [tencentcloud_vpn_gateway.my_cgw]
}
`
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import (
)

func TestAccTencentCloudVpnConnectionResource_basic(t *testing.T) {
t.Parallel()
resource.Test(t, resource.TestCase{
PreCheck: func() { tcacctest.AccPreCheck(t) },
Providers: tcacctest.AccProviders,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import (
)

func TestAccTencentCloudVpnCustomerGatewayConfigurationDownloadResource_basic(t *testing.T) {
t.Parallel()
resource.Test(t, resource.TestCase{
PreCheck: func() {
tcacctest.AccPreCheck(t)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import (
)

func TestAccTencentCloudVpnGatewayRoute_basic(t *testing.T) {
t.Parallel()
resource.Test(t, resource.TestCase{
PreCheck: func() { tcacctest.AccPreCheck(t) },
Providers: tcacctest.AccProviders,
Expand Down
Loading