-
Notifications
You must be signed in to change notification settings - Fork 77
Google Workload Identity Federation (module upgrade) #180
Comments
Please give |
Looks like it works! Looking forward to the new version being published. |
This terraform registry dying on random bs is really getting old.............. |
Done |
@DeviaVir Unfortunately, I was incorrect. The build I ran to test this did not use workload identity federation like I thought it was because I accidentally still had The issue is that workload identity federation generally requires the use of https://github.com/DeviaVir/terraform-provider-gsuite/blob/master/gsuite/config.go#L62 For this to work, we would want the following condition to run: https://github.com/DeviaVir/terraform-provider-gsuite/blob/master/gsuite/config.go#L114 This means that there's some code changes that need to be made in order for the provider to support workload identity federation. I'll try to find some time to work on this in the next couple of weeks and will submit a pull request once I get it working. I'll attempt to do it in such a way that existing clients do not break. |
I am requesting that the terraform-provider-gsuite support Google Workload Identity Federation.
After looking at your code, it looks like the only thing that needs to be done to support this feature is to update the library
"golang.org/x/oauth2/google"
to the latest version.google.DefaultClient()
(which you use) will automatically support Workload Identity Federation. For more information, you can see this here: https://pkg.go.dev/golang.org/x/oauth2/googleThe text was updated successfully, but these errors were encountered: