Skip to content
This repository was archived by the owner on Jun 30, 2025. It is now read-only.

Bump dependencies & go version to resolve #465 - #466

Open
andrewesweet wants to merge 1 commit into
hashicorp:mainfrom
andrewesweet:user-quota-project
Open

Bump dependencies & go version to resolve #465#466
andrewesweet wants to merge 1 commit into
hashicorp:mainfrom
andrewesweet:user-quota-project

Conversation

@andrewesweet

Copy link
Copy Markdown

A relatively straightforward bumping of dependencies (in particular google.golang.org/api) resolved #465. The quota project set in the Application Default Credential remains unrespected, but the environment variable is now respected so the data sources are usable as a non-service-account user.

Bumping google.golang.org/api to the latest version in turn bumped golang.org/x/oauth2 which lead to errors when building with go 1.16:

internal\provider\provider.go:17:2: //go:build comment without // +build comment
go\pkg\mod\golang.org\x\oauth2@v0.12.0\oauth2.go:21:2: //go:build comment without // +build comment

I resolved this by bumping the go version to 1.19. Why that version? Arbitrarily because that is what is presently used by the google provider.

Unfortunately, I lack the dependencies needed to run a full regression test of the provider, so I am at the maintainers' mercy to support that.

@andrewesweet
andrewesweet requested a review from a team as a code owner September 14, 2023 20:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Using groups datasources fails with quota project error when authenticating as a non-service-account user

1 participant