binxio / cfn-secret-provider

A CloudFormation custom resource provider for deploying secrets and keys
Apache License 2.0
141 stars 70 forks source link

Add posibility to use a PermissionBoundary for the LambdaRole #56

Closed anwbtom closed 2 years ago

anwbtom commented 2 years ago

We are in the situation that we only can create roles which adhere to the default boundaries.
This little MR makes it possible to pass along a policy ARN to be used as PermissionBoundary for the LambdaRole.
If the Parameter isn't passed along it just won't set the PermissionBoundary on the role.

mvanholsteijn commented 2 years ago

@anwbtom Thank you for your contribution!