sparse-intern-71089
07/31/2018, 11:32 PMwhite-balloon-205
policies: []
or role:
to the options of the aws.serverless.Function
to pick a specific role/policies to use.white-balloon-205
white-balloon-205
@pulumi/cloud
though, you need to set it via global configuration of the cloud-aws
package currently - you can use this:
https://github.com/pulumi/pulumi-cloud/blob/master/aws/config/index.ts#L52-L56