Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.3.1 initialize gone? #78

Open
craiggunson opened this issue Aug 1, 2023 · 3 comments
Open

3.3.1 initialize gone? #78

craiggunson opened this issue Aug 1, 2023 · 3 comments
Assignees

Comments

@craiggunson
Copy link

Orb version

3.1.1
Braking changes when moving from v2.4.1

The initialise syntax appears to have been replaced with setup?
and then it throws this error.

WARNING: You do not appear to have access to project [********************] or it does not exist.
ERROR: (gcloud.config.set) The project property must be set to a valid project ID, not the project name [********************]

I know both the env vars are fine, since they work perfectly in 2.4.1 - and I can confirm it is the project ID.

before - works 2.4.1

      - gcp-cli/initialize:
          gcloud-service-key: GCLOUD_CUSTOM
          google-compute-region: AUSTRALIA_REGION
          google-project-id: GOOGLE_PROJECT_ID

after - failing 3.1.1

      - gcp-cli/setup:
          google_project_id: GOOGLE_PROJECT_ID
          gcloud_service_key: GCLOUD_CUSTOM
          google_compute_region: AUSTRALIA_REGION
@Norsu296
Copy link

@craiggunson check if you don't have white space at the end of project name. I had space and after removing it works.

@hannahhenderson
Copy link

@craiggunson has this issue been resolved?

@craiggunson
Copy link
Author

nope, same error. I've worked around it with about 4 lines of cli.

@david-montano-circleci david-montano-circleci self-assigned this Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants