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

adorable-action-51248

03/25/2020, 10:48 AM
oh. having the same issue with
gcp.cloudrun.DomainMapping
no changes. yet it tries to do an update. which fails. because gcp.cloudrun.DomainMapping doesn’t support changes… . tried already ignoreChanges and adding deleteBeforeReplace. (adding all properties) but that didn’t seem to work.
Copy code
const domainMapping = new gcp.cloudrun.DomainMapping(
    `${prefix}-domain-mapping-${env}`,
    {
      location: region,
      name: `${dnsName}`,
      metadata: {
        namespace: project,
      },
      project,
      spec: {
        routeName: service.name,
      },
    },
  )
currently the only work around i found is to comment out the resource (and its dependencies). deploy (forcing its destruction). and then comment it in. and deploy again. ok. weird. can’t reproduce it at the moment anymore. not sure what i changed.
6 Views