Skip to content

Commit

Permalink
[Feat] Recordings S3 + Main buckets
Browse files Browse the repository at this point in the history
Created a bucket for brainwave recordings.
Added snippets and recordings buckets in main.
References #18, #20.
  • Loading branch information
angel-penchev committed Oct 18, 2021
1 parent ddf54f7 commit 7e9a1ab
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
13 changes: 12 additions & 1 deletion terraform/dev/s3.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,18 @@
module "s3_bucket" {
source = "terraform-aws-modules/s3-bucket/aws"

bucket = "eleggo-dev-code-snippets"
bucket = "eleggo-dev-code-snippets-bucket"
acl = "public-read"

versioning = {
enabled = true
}
}

module "s3_bucket" {
source = "terraform-aws-modules/s3-bucket/aws"

bucket = "eleggo-dev-recordings-bucket"
acl = "public-read"

versioning = {
Expand Down
21 changes: 21 additions & 0 deletions terraform/main/s3.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
module "s3_bucket" {
source = "terraform-aws-modules/s3-bucket/aws"

bucket = "eleggo-main-code-snippets-bucket"
acl = "private"

versioning = {
enabled = true
}
}

module "s3_bucket" {
source = "terraform-aws-modules/s3-bucket/aws"

bucket = "eleggo-main-recordings-bucket"
acl = "private"

versioning = {
enabled = true
}
}

0 comments on commit 7e9a1ab

Please sign in to comment.