Skip to content

Commit

Permalink
r/aws_codepipeline(test): rm unnecessary private s3 bucket acls
Browse files Browse the repository at this point in the history
  • Loading branch information
jar-b committed Jul 18, 2023
1 parent b25dd09 commit 4df274a
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions internal/service/codepipeline/codepipeline_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1405,11 +1405,6 @@ func testAccS3Bucket(bucket, rName string) string {
resource "aws_s3_bucket" "%[1]s" {
bucket = "tf-test-pipeline-%[1]s-%[2]s"
}
resource "aws_s3_bucket_acl" "%[1]s" {
bucket = aws_s3_bucket.%[1]s.id
acl = "private"
}
`, bucket, rName)
}

Expand All @@ -1419,12 +1414,6 @@ resource "aws_s3_bucket" "%[1]s" {
bucket = "tf-test-pipeline-%[1]s-%[2]s"
provider = %[3]s
}
resource "aws_s3_bucket_acl" "%[1]s" {
bucket = aws_s3_bucket.%[1]s.id
acl = "private"
provider = %[3]s
}
`, bucket, rName, provider)
}

Expand Down Expand Up @@ -1493,11 +1482,6 @@ resource "aws_codestarconnections_connection" "test" {
resource "aws_s3_bucket" "foo" {
bucket = "tf-test-pipeline-%[1]s"
}
resource "aws_s3_bucket_acl" "foo_acl" {
bucket = aws_s3_bucket.foo.id
acl = "private"
}
`, rName))
}

Expand Down

0 comments on commit 4df274a

Please sign in to comment.