This is an automated email from the ASF dual-hosted git repository.
lfrolov pushed a commit to branch DATALAB-2551
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
The following commit(s) were added to refs/heads/DATALAB-2551 by this push:
new 2c1e0a918 [DATALAB-2551]: updated aws bucket tf file
2c1e0a918 is described below
commit 2c1e0a9186c8550f1296783db2a41324fa859593
Author: leonidfrolov <[email protected]>
AuthorDate: Mon May 23 14:18:20 2022 +0300
[DATALAB-2551]: updated aws bucket tf file
---
infrastructure-provisioning/terraform/aws/endpoint/main/bucket.tf | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/infrastructure-provisioning/terraform/aws/endpoint/main/bucket.tf
b/infrastructure-provisioning/terraform/aws/endpoint/main/bucket.tf
index 86f70f08a..307f908ed 100644
--- a/infrastructure-provisioning/terraform/aws/endpoint/main/bucket.tf
+++ b/infrastructure-provisioning/terraform/aws/endpoint/main/bucket.tf
@@ -25,7 +25,6 @@ locals {
resource "aws_s3_bucket" "shared_bucket" {
bucket = local.shared_s3_name
- acl = "private"
tags = {
Name = local.shared_s3_name
"${local.additional_tag[0]}" = local.additional_tag[1]
@@ -34,4 +33,9 @@ resource "aws_s3_bucket" "shared_bucket" {
"endpoint_tag" = var.endpoint_id
}
force_destroy = true
- }
\ No newline at end of file
+ }
+
+resource "aws_s3_bucket_acl" "example_bucket_acl" {
+ bucket = aws_s3_bucket.shared_bucket.id
+ acl = "private"
+ }
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]