Skip to content

Commit

Permalink
Merge pull request #23032 from hashicorp/td-quicksight-s3-bucket-acl-…
Browse files Browse the repository at this point in the history
…tests

tests/quicksight: update to `aws_s3_bucket_acl`
  • Loading branch information
anGie44 authored Feb 8, 2022
2 parents de6e94d + 2ca304a commit 1884835
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion internal/service/quicksight/data_source_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -466,11 +466,15 @@ func testAccBaseDataSourceConfig(rName string) string {
data "aws_partition" "current" {}
resource "aws_s3_bucket" "test" {
acl = "public-read"
bucket = %[1]q
force_destroy = true
}
resource "aws_s3_bucket_acl" "test" {
bucket = aws_s3_bucket.test.id
acl = "public-read"
}
resource "aws_s3_object" "test" {
bucket = aws_s3_bucket.test.bucket
key = %[1]q
Expand Down

0 comments on commit 1884835

Please sign in to comment.