Channels
pulumi-ai
package-authoring
pulumi-cdk
oracle-cloud-infrastructure
learn-pulumi-events
linen
registry
built-with-pulumi
pulumi-cloud
contribex
testingtesting321
hacktoberfest
cloudengineering
yaml
pulumi-crosscode
content-share
finops
multi-language-hackathon
office-hours
workshops
blog-posts
localstack
welcome
gitlab
pulumi-kubernetes-operator
jobs
aws
pulumi-deployments
dotnet
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
general
Powered by
Title
f
future-window-78560
03/03/2022, 7:12 PM
Hey Developers! Is there any guide for adding pre-defined roles to GCP using Pulumi?
g
great-queen-39697
03/03/2022, 8:36 PM
Are you trying to understand how to add the
standard predefined roles
to a service account, for example?
If that's the case, you're looking for the IAMBinding resource for various resources. Here's one of our examples to explain with a bit of code:
https://github.com/pulumi/examples/blob/master/gcp-ts-gke-serviceaccount/index.ts#L15-L23
👀 1
✅ 1
f
future-window-78560
03/03/2022, 9:29 PM
Yes I am trying to understand how to add the
standard predefined roles
to a service account
5 Views
#general
Join Slack