From 687ee3ba58ffad0ce63fdccee1efa6d347ad8629 Mon Sep 17 00:00:00 2001 From: robertsweetman Date: Fri, 15 Dec 2023 17:08:28 +0000 Subject: [PATCH] make value explicit --- terraform/environments/planetfm/ec2-common.tf | 2 -- terraform/environments/planetfm/locals_development.tf | 6 ++---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/terraform/environments/planetfm/ec2-common.tf b/terraform/environments/planetfm/ec2-common.tf index 9845f8af6ee..89cd7cd4022 100644 --- a/terraform/environments/planetfm/ec2-common.tf +++ b/terraform/environments/planetfm/ec2-common.tf @@ -53,5 +53,3 @@ resource "aws_ssm_document" "ami_build_automation" { }, ) } - -data "aws_elb_service_account" "default" {} diff --git a/terraform/environments/planetfm/locals_development.tf b/terraform/environments/planetfm/locals_development.tf index 7a0ab367aa6..d77744aa639 100644 --- a/terraform/environments/planetfm/locals_development.tf +++ b/terraform/environments/planetfm/locals_development.tf @@ -11,12 +11,10 @@ locals { { effect = "Allow" actions = [ - "s3:GetBucketLocation", - "s3:GetObject", - "s3:PutObject", + "s3:PutObject" ] principals = { - identifiers = [data.aws_elb_service_account.default.arn] + identifiers = ["arn:aws:iam::652711504416:root"] type = "AWS" } },