From 2bdc05ddf3fe96dc8dd0fd4d37ec08d70c0fe833 Mon Sep 17 00:00:00 2001 From: Eunsoo Shin Date: Tue, 3 Sep 2024 14:36:48 -0400 Subject: [PATCH] create s3 bucket for lambda deployment --- terraform/s3.tf | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 terraform/s3.tf diff --git a/terraform/s3.tf b/terraform/s3.tf new file mode 100644 index 00000000..92d24ee4 --- /dev/null +++ b/terraform/s3.tf @@ -0,0 +1,9 @@ +module "s3_bucket" { + source = "terraform-aws-modules/s3-bucket/aws" + + bucket = "pennlabs-lambda-deployment" + acl = "private" + + control_object_ownership = true + object_ownership = "ObjectWriter" +}