pulumi / pulumi-google-native

Apache License 2.0
70 stars 18 forks source link

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

Open Sadzeih opened 11 months ago

Sadzeih commented 11 months ago

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

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).

Mistic92 commented 10 months ago

I have the same issue with EventArc

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

Same issue with Dataflow

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