Channels
esc
welcome
pulumi-cdk
cloudengineering
yaml
blog-posts
localstack
pulumi-ai
package-authoring
policy-as-code
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
general
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
# general
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
Post