File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ func testVpcAclAttachmentDestroy(s *terraform.State) error {
3838 }
3939 err := service .DescribeByAclId (ctx , rs .Primary .ID )
4040 if err == nil {
41- return fmt .Errorf ("[TECENT_TERRAFORM_CHECK][][Destroy] check: acl attachment still exists: %s" , rs .Primary .ID )
41+ return fmt .Errorf ("[TECENT_TERRAFORM_CHECK][ACL attachment ][Destroy] check: acl attachment still exists: %s" , rs .Primary .ID )
4242 }
4343 }
4444 return nil
@@ -52,14 +52,14 @@ func testVpcAclAttachmentExists(n string) resource.TestCheckFunc {
5252
5353 rs , ok := s .RootModule ().Resources [n ]
5454 if ! ok {
55- return fmt .Errorf ("[TECENT_TERRAFORM_CHECK][][Exists] check: %s is not found" , n )
55+ return fmt .Errorf ("[TECENT_TERRAFORM_CHECK][ACL attachment ][Exists] check: %s is not found" , n )
5656 }
5757 if rs .Primary .ID == "" {
58- return fmt .Errorf ("[TECENT_TERRAFORM_CHECK][][Exists] check: id is not set" )
58+ return fmt .Errorf ("[TECENT_TERRAFORM_CHECK][ACL attachment ][Exists] check: id is not set" )
5959 }
6060 err := service .DescribeByAclId (ctx , rs .Primary .ID )
6161 if err != nil {
62- return fmt .Errorf ("[TECENT_TERRAFORM_CHECK][][Destroy ] check: still exists: %s" , rs .Primary .ID )
62+ return fmt .Errorf ("[TECENT_TERRAFORM_CHECK][ACL attachment][Exists ] check: still exists: %s" , rs .Primary .ID )
6363 }
6464 return nil
6565 }
You can’t perform that action at this time.
0 commit comments