Skip to content

Commit

Permalink
update mdss test transfer role (#8722)
Browse files Browse the repository at this point in the history
* update mdss test transfer role

* updated preprod role

* add decrypt to bucket policy

* remove kms
  • Loading branch information
pricemg authored Nov 22, 2024
1 parent 8e05e7d commit 381485e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ module "this-bucket" {
effect = "Allow"
actions = [
"s3:PutObject",
"s3:PutObjectAcl"
"s3:PutObjectAcl",
]
principals = {
identifiers = ["arn:aws:iam::${var.cross_account_access_role.account_number}:role/${var.cross_account_access_role.role_name}"]
Expand Down
9 changes: 6 additions & 3 deletions terraform/environments/electronic-monitoring-data/s3.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,16 @@ locals {
"production" = null
"preproduction" = {
"account_number" = 173142358744
"role_name" = "juniper-dt-lambda-role"
"role_name" = "juniper-datatransfer-lambda-role"
}
"test" = {
"account_number" = 173142358744
role_name = "dev-dt-lambda-role"
"role_name" = "dev-datatransfer-lambda-role"
}
"development" = {
"account_number" = 173142358744
"role_name" = "dev-datatransfer-lambda-role"
}
"development" = null
}
}

Expand Down

0 comments on commit 381485e

Please sign in to comment.