Channels
welcome
pulumi-cdk
cloudengineering
yaml
blog-posts
localstack
pulumi-ai
package-authoring
general
pulumiup-booth-support
oracle-cloud-infrastructure
learn-pulumi-events
linen
registry
built-with-pulumi
pulumi-cloud
contribex
testingtesting321
hacktoberfest
pulumi-crosscode
content-share
finops
multi-language-hackathon
office-hours
workshops
gitlab
pulumi-kubernetes-operator
jobs
pulumi-deployments
dotnet
aws
golang
announcements
java
pulumiverse
python
install
getting-started
cloudengineering-support
testingtesting123
hackathon-03-19-2020
typescript
google-cloud
contribute
azure
kubernetes
docs
automation-api
status
Powered by
#general
Title
p
proud-tiger-5743
05/08/2019, 12:08 AM
Is it possible to update the execution role for a lambda function declared inline via the
awsx
package?
w
white-balloon-205
05/08/2019, 12:22 AM
Yes - though you have to make it incrementally less "inline". See
https://github.com/pulumi/examples/blob/20d0cec006756d873308181ff9664c75be9b1c60/aws-ts-thumbnailer/index.ts#L25
for an example. You can pass
role
to provider your own role, or
policies
to attach those policies to a freshly created role for the lambda.
p
proud-tiger-5743
05/08/2019, 12:25 AM
Got it - that makes perfect sense
Post