Pre-defined Customer Managed Policies

Hi there. I’m trying to define a managed_iam_policy on a controller. I thought I’d be able to put a user-defined policy in there and Jets would understand it. But it fails on cloudformation build. This makes sense, looking at the docs. Jets prepends the iam prefix for managed policies on there.

But, I don’t want to defined my policy in Jets. I need to use a customer-defined policy that already exists. Is there a way to do that?

Using a pre-defined IAM policy can be done by setting the function role: http://rubyonjets.com/docs/function-properties/ :smile: