Skip to content

Commit cb5100c

Browse files
authored
fix: cfs system testcase (#1099)
1 parent dd90862 commit cb5100c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tencentcloud/resource_tc_cfs_file_system_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ resource "tencentcloud_cfs_file_system" "foo" {
147147
func testAccCfsMasterInstance_multiTags(value string) string {
148148
return fmt.Sprintf(
149149
`
150+
%s
150151
resource "tencentcloud_vpc" "vpc" {
151152
name = "test-cfs-vpc"
152153
cidr_block = "10.2.0.0/16"
@@ -163,7 +164,7 @@ resource "tencentcloud_subnet" "subnet" {
163164
resource "tencentcloud_cfs_file_system" "foo" {
164165
name = "test_cfs_file_system"
165166
availability_zone = "ap-guangzhou-3"
166-
access_group_id = "%s"
167+
access_group_id = local.cfs_access_group_id
167168
protocol = "NFS"
168169
vpc_id = tencentcloud_vpc.vpc.id
169170
subnet_id = tencentcloud_subnet.subnet.id
@@ -174,5 +175,5 @@ resource "tencentcloud_cfs_file_system" "foo" {
174175
role = "%s"
175176
}
176177
}
177-
`, BasicCfsAccessGroup, value)
178+
`, defaultCfsAccessGroup, value)
178179
}

0 commit comments

Comments
 (0)