Skip to content

Commit

Permalink
Add dynamodb to perm boundary
Browse files Browse the repository at this point in the history
  • Loading branch information
Prabhu Manchineella authored and Prabhu Manchineella committed Oct 26, 2023
1 parent 032eba7 commit 93e5a77
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions modules/account-sso/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,12 @@ resource "aws_iam_policy" "bcgov_perm_boundary" {
Resource = "*"
Sid = "DenyPermBoundaryBCGovIDPAlteration"
},
{
Action = "dynamodb:DeleteTable"
Effect = "Deny"
Resource = "arn:aws:dynamodb:*:*:table/BCGOV_IAM_USER_TABLE"
Sid = "DenyIAMUserTableDeletion"
},
{
Action = "elasticloadbalancing:DeleteLoadBalancer"
Effect = "Deny"
Expand Down

0 comments on commit 93e5a77

Please sign in to comment.