bored-car-38257
03/29/2021, 3:36 AMpulumi
. for example if i want to make the service account storage.Admin
using serviceaccount.NewIAMMember
. roles are given as below
⢠roles/storage.admin
⢠projects/<projectName>/roles/storage.admin
Both threw error 400
does not exist in the resource's hierarchy., badRequest
NewIAMBinding
below is the error ..
Error setting IAM policy for service account 'projects/<project-name>/serviceAccounts/<sa-email>': googleapi: Error 400: Role roles/storage.admin is not supported for this resource., badRequest
witty-candle-66007
03/29/2021, 8:49 PMbored-car-38257
04/02/2021, 12:24 AM