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

Can't import cloud run service: property "locationsId"/"location" not found #930

Open
Sadzeih opened this issue Sep 18, 2023 · 2 comments
Open
Labels
area/providers kind/bug Some behavior is incorrect or out of spec

Comments

@Sadzeih
Copy link

Sadzeih commented Sep 18, 2023

What happened?

I'm getting this error when trying to import a Cloud Run Service with google-native:

Diagnostics:
  google-native:run/v2:Service (my-service):
    error: Preview failed: property "locationsId"/"location" not found

Example

  • Create a cloud run service without pulumi
  • Write your pulumi code with google-native
  • Try to import the service

Output of pulumi about

CLI          
Version      3.82.1
Go Version   go1.21.0
Go Compiler  gc

Plugins
NAME           VERSION
aws            6.0.4
aws            5.42.0
aws-native     0.61.0
gcp            6.62.0
go             unknown
google-native  0.30.0

Host     
OS       darwin
Version  13.2.1
Arch     arm64

This project is written in go: executable='/opt/homebrew/bin/go' version='go version go1.20.2 darwin/arm64'

Current Stack: organization/sibros/dev-us-gcp

TYPE                             URN
pulumi:pulumi:Stack              urn:pulumi:dev-us-gcp::sibros::pulumi:pulumi:Stack::sibros-dev-us-gcp
pulumi:providers:google-native   urn:pulumi:dev-us-gcp::sibros::pulumi:providers:google-native::default
pulumi:providers:gcp             urn:pulumi:dev-us-gcp::sibros::pulumi:providers:gcp::default


Found no pending operations associated with dev-us-gcp

Backend        
Name           alexiss-macbook-pro.home
URL            s3://[removed]
User           aguerville
Organizations  

Dependencies:
NAME                                        VERSION
github.com/imdario/mergo                    0.3.15
github.com/pulumi/pulumi-aws-native/sdk     0.61.0
github.com/pulumi/pulumi-aws/sdk/v5         5.42.0
github.com/pulumi/pulumi-aws/sdk/v6         6.0.4
github.com/pulumi/pulumi-gcp/sdk/v6         6.62.0
github.com/pulumi/pulumi-google-native/sdk  0.30.0
github.com/pulumi/pulumi/sdk/v3             3.66.0
gopkg.in/yaml.v3                            3.0.1

Pulumi locates its logs in /var/folders/md/j47p80_n60v477xltzwkh4980000gn/T/ by default

Additional context

No response

Contributing

Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

@Sadzeih Sadzeih added kind/bug Some behavior is incorrect or out of spec needs-triage Needs attention from the triage team labels Sep 18, 2023
@Sadzeih Sadzeih changed the title Can't import cloud run service Can't import cloud run service: property "locationsId"/"location" not found Sep 18, 2023
@mikhailshilkov mikhailshilkov added area/providers and removed needs-triage Needs attention from the triage team labels Sep 19, 2023
@Mistic92
Copy link

I have the same issue with EventArc

  google-native:eventarc/v1:Trigger (xxxxxxxxxx):
    error: Preview failed: property "locationsId"/"location" not found

@LiHRaM
Copy link

LiHRaM commented Apr 30, 2024

Same issue with Dataflow

google-native:datapipelines/v1:Pipeline (default):
    error: Preview failed: property "locationsId"/"location" not found

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/providers kind/bug Some behavior is incorrect or out of spec
Projects
None yet
Development

No branches or pull requests

4 participants