Skip to content

Commit

Permalink
Fix assume role for secops
Browse files Browse the repository at this point in the history
  • Loading branch information
lgallard committed Sep 14, 2021
1 parent 0ce0a55 commit eab0067
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions security/base-identities/groups_policies.tf
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ resource "aws_iam_policy" "assume_secops_role" {
"sts:AssumeRole"
],
"Resource": [
"arn:aws:iam::${var.shared_account_id}:role/DevOps",
"arn:aws:iam::${var.network_account_id}:role/DevOps",
"arn:aws:iam::${var.security_account_id}:role/DevOps",
"arn:aws:iam::${var.appsdevstg_account_id}:role/DevOps",
"arn:aws:iam::${var.appsprd_account_id}:role/DevOps"
"arn:aws:iam::${var.shared_account_id}:role/SecOps",
"arn:aws:iam::${var.network_account_id}:role/SecOps",
"arn:aws:iam::${var.security_account_id}:role/SecOps",
"arn:aws:iam::${var.appsdevstg_account_id}:role/SecOps",
"arn:aws:iam::${var.appsprd_account_id}:role/SecOps"
]
}
]
Expand Down

0 comments on commit eab0067

Please sign in to comment.