sparse-intern-71089
09/04/2019, 4:02 PMwhite-balloon-205
white-balloon-205
import * as cloudAws from "@pulumi/cloud-aws"
cloudAws.setComputeIAMRolePolicies(policyArns);
Then you should see any lambdas created after that will use a Role created with those policy arns attached. This is pretty limited, and requires you make this call before any Lambdas are created by @pulumi/cloud
- but may let you work around this.billowy-laptop-45963
09/04/2019, 4:33 PMwhite-balloon-205
cloud
but need to customize Roles (an AWS specific concept), then you can load up @pulumi/cloud-aws
and make the call above, but still use all the rest of the APIs from @pulumi/cloud
.
2. If you are on AWS only, you will likely find things more flexible working with @pulumi/aws
and @pulumi/awsx
- which offer many of the same capabilities - but in an AWS specific form that gives you access to every knob you may need.No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by