From 4d2e695db7e9ececfaa0f0da7397d1cc9a5b4eda Mon Sep 17 00:00:00 2001 From: Sarah Gibson Date: Tue, 23 Apr 2024 16:31:01 +0100 Subject: [PATCH] Add extra IAM policy for sliderule-public s3 bucket to CryoCloud terraform --- terraform/aws/projects/nasa-cryo.tfvars | 36 +++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/terraform/aws/projects/nasa-cryo.tfvars b/terraform/aws/projects/nasa-cryo.tfvars index c58e9cbde..14635c119 100644 --- a/terraform/aws/projects/nasa-cryo.tfvars +++ b/terraform/aws/projects/nasa-cryo.tfvars @@ -51,6 +51,24 @@ hub_cloud_permissions = { "Resource": [ "arn:aws:s3:::usgs-landsat/*" ] + }, + { + "Effect": "Allow", + "Action": [ + "s3:*" + ], + "Resource": [ + "arn:aws:s3:::sliderule-public" + ] + }, + { + "Effect": "Allow", + "Action": [ + "s3:*" + ], + "Resource": [ + "arn:aws:s3:::sliderule-public/*" + ] } ] } @@ -87,6 +105,24 @@ hub_cloud_permissions = { "Resource": [ "arn:aws:s3:::usgs-landsat/*" ] + }, + { + "Effect": "Allow", + "Action": [ + "s3:*" + ], + "Resource": [ + "arn:aws:s3:::sliderule-public" + ] + }, + { + "Effect": "Allow", + "Action": [ + "s3:*" + ], + "Resource": [ + "arn:aws:s3:::sliderule-public/*" + ] } ] }