Skip to content

Commit

Permalink
make value explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsweetman committed Dec 15, 2023
1 parent 40f3247 commit 687ee3b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 0 additions & 2 deletions terraform/environments/planetfm/ec2-common.tf
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,3 @@ resource "aws_ssm_document" "ami_build_automation" {
},
)
}

data "aws_elb_service_account" "default" {}
6 changes: 2 additions & 4 deletions terraform/environments/planetfm/locals_development.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
},
Expand Down

0 comments on commit 687ee3b

Please sign in to comment.