From 00270bdea93e2dad56cd867e3a61971215f16ed7 Mon Sep 17 00:00:00 2001 From: Greg Fodor Date: Wed, 7 Aug 2019 16:40:00 +0000 Subject: [PATCH] Add polycosm assets bucket --- terraform/modules/base/main.tf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/terraform/modules/base/main.tf b/terraform/modules/base/main.tf index 2422fee..cf3a701 100644 --- a/terraform/modules/base/main.tf +++ b/terraform/modules/base/main.tf @@ -529,3 +529,9 @@ resource "aws_kms_key" "lambda-kms-key" { provider = "aws.east" description = "Key for AWS Lambda secrets" } + +# Polycosm assets +resource "aws_s3_bucket" "polycosm-assets" { + bucket = "assets.polycosm-${var.shared["env"]}-${random_id.bucket-identifier.hex}" + acl = "private" +}