Skip to content

Commit

Permalink
Set permission boundary for new AWS intents roles (#337)
Browse files Browse the repository at this point in the history
  • Loading branch information
orishavit authored Jan 20, 2024
1 parent 6359b4c commit f38bc95
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/shared/awsagent/roles.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ func (a *Agent) CreateOtterizeIAMRole(ctx context.Context, namespaceName, accoun
Value: aws.String(a.clusterName),
},
},
Description: aws.String(iamRoleDescription),
Description: aws.String(iamRoleDescription),
PermissionsBoundary: aws.String(fmt.Sprintf("arn:aws:iam::%s:policy/%s-limit-iam-permission-boundary", a.accountID, a.clusterName)),
})

if createRoleError != nil {
Expand Down

0 comments on commit f38bc95

Please sign in to comment.