Skip to content

Commit

Permalink
feature #1 - Add deployment bucket
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugeniosales committed Oct 15, 2022
1 parent a8c8a58 commit 9213a2f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions terraform/s3.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
resource "aws_s3_bucket" "sbf-sls-artifacts" {
bucket = "sbf-sls-artifacts-custom-test-${var.ENV}"

tags = {
Name = "SBF Serverless deployment artifacts"
Environment = "${var.ENV}"
}
}

resource "aws_s3_bucket_acl" "example" {
bucket = aws_s3_bucket.sbf-sls-artifacts.id
acl = "private"
}

0 comments on commit 9213a2f

Please sign in to comment.