https://pulumi.com logo
#google-cloud
Title
# google-cloud
s

stocky-finland-45016

03/13/2024, 10:37 PM
๐Ÿ‘‹ Hey all! I'm seeing this error when running
pulumi preview
on an existing GCP stack that has a
gcp:cloudrun/domainMapping:DomainMapping
resource.
Copy code
Diagnostics:
    gcp:cloudrun:DomainMapping (proxy-web-service-domain-mapping):
      error: unmarshaling urn:pulumi:prod::thecodinglove-proxy-web::gcp:cloudrun/domainMapping:DomainMapping::proxy-web-service-domain-mapping's instance state: internal: Pulumi property 'terraformLabels' mapped non-uniquely to Terraform attribute 'terraform_labels' (duplicates Pulumi key 'pulumiLabels')
Any ideas what's going on? I'll ๐Ÿงต details
My resource definition looks like this
Copy code
proxy-web-service-domain-mapping:
    type: gcp:cloudrun:DomainMapping
    properties:
      location: ${proxy-web-service.location}
      metadata:
        namespace: ${gcp:project}
      name: ${domain}
      spec:
        routeName: proxy-web-service
    options:
      protect: true
The error is coming from the Pulumi GitHub Action
Copy code
Error: Command failed with exit code 255: pulumi preview --exec-agent pulumi/actions@v5 --color auto --exec-kind auto.local --event-log /tmp/automation-logs-preview-v7eiGq/eventlog.txt --stack prod --non-interactive