Skip to content

Commit 78e37d0

Browse files
Steven Ayersdanielcmessias
Steven Ayers
authored andcommitted
Fixing acceptance test issue with AccessDeniedException
1 parent 0b21be9 commit 78e37d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/service/lakeformation/lf_tag_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ func testAccCheckAWSLakeFormationLFTagsDestroy(s *terraform.State) error {
130130
continue
131131
}
132132
// If the lake formation admin has been revoked, there will be access denied instead of entity not found
133-
if tfawserr.ErrCodeEquals(err, lakeformation.ErrCodeEntityNotFoundException) {
133+
if tfawserr.ErrCodeEquals(err, lakeformation.ErrCodeAccessDeniedException) {
134134
continue
135135
}
136136
return err

0 commit comments

Comments
 (0)