Skip to content

Commit 1c5904d

Browse files
add(terraform): #14 - s3 impl
1 parent 13c7529 commit 1c5904d

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

deploy/terraform/s3.tf

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# - BUCKET ------------------------------------------------------------- #
2+
3+
resource "aws_s3_bucket" "alpha" {
4+
bucket = lookup(var.global, "name")
5+
6+
tags = {
7+
Name = lookup(var.global, "name")
8+
}
9+
}
10+
11+
resource "aws_s3_bucket_acl" "alpha" {
12+
bucket = aws_s3_bucket.alpha.id
13+
acl = lookup(var.s3, "acl")
14+
}

0 commit comments

Comments
 (0)