provider-gcp icon indicating copy to clipboard operation
provider-gcp copied to clipboard

attaching roles to service accounts

Open erez-levi opened this issue 3 years ago • 5 comments

Hi,

I'm trying to create a service account in gcp, I’m having trouble with attaching roles to the service account, I tried using the ’’serviceAccountPolicy”, but I managed to add permissions to members for the service account and I didn’t manage to attach roles to the actual service account.

I don't know if there is a way to do it right now, but I would like to know if I missed something.

Thanks

erez-levi avatar Aug 14 '22 08:08 erez-levi

Hey @Erez-Levi, I believe that it is not yet supported in this provider. Have you tried using provider-jet-gcp?

Feggah avatar Oct 20 '22 22:10 Feggah

@Erez-Levi the provider-jet-gcp is deprecated and I don't see anything supported by looking at the CRDs..

This is a really important feature to have ..

nicolas-g avatar Jan 11 '23 02:01 nicolas-g

Bumping this.... makes it really hard to use this without being able to assign roles to a SA.

ShaunBoughey avatar Mar 16 '24 20:03 ShaunBoughey

Is there any work-around for the issue until this gets fixed?

yashaswinoonela avatar Jul 14 '24 16:07 yashaswinoonela

For folks on this thread, you can consider checking out the https://github.com/crossplane-contrib/provider-upjet-gcp provider which is more actively maintained than this one.

The source lives at the link above, then it is published to: https://marketplace.upbound.io/providers/upbound/provider-family-gcp/latest/providers

https://docs.upbound.io/providers/migration can help with migration 🙇‍♂️

jbw976 avatar Jul 15 '24 17:07 jbw976