This message was deleted.
# general
s
This message was deleted.
w
Yes - you can pass either
policies: []
or
role:
to the options of the
aws.serverless.Function
to pick a specific role/policies to use.
If you are using this indirectly via
@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