diff --git a/internal/acctest/acctest_test.go b/internal/acctest/acctest_test.go index 8d51e80bf82..e00e1346dbc 100644 --- a/internal/acctest/acctest_test.go +++ b/internal/acctest/acctest_test.go @@ -906,9 +906,13 @@ provider "aws" { resource "aws_s3_bucket" "test" { bucket = %[2]q - acl = "private" force_destroy = true } + +resource "aws_s3_bucket_acl" "test" { + bucket = aws_s3_bucket.test.id + acl = "private" +} `, endpoint, rName)) }