Hi All,
I'm testing out the upgrade from Pulumi.AzureNative v2.9 to 3.0, and have run into an unexpected issue.
When deploying to our dev environment, I get the following error:
error: Status=400 Code="CertificateInUse" Message="Certificate 'cert-zzzzzzz is used by existing custom domains."
What's weird is that none of the code we changed as part of the upgrades affects certs... but I suspect it did change the ContainerApp namespace in the pulumi state file, which is causing a "Refresh" update in the Pulumi run.
Before I go deleting the cert and it's binding in our ingress app, is there something else I might have missed here?
We have many, many deployments this will affect, and deleting the binding and the cert and letting it try to recreate these will require taking our production sites down. Not ideal.
Would I be better off to manually edit the state file? (Insert fear emoji here)
~ azure-native:app/v20231102preview:Certificate: (refresh)
[id=/subscriptions/zzzz/resourceGroups/zzzzz/providers/Microsoft.App/managedEnvironments/cae-zzz/certificates/cert-zzzzzzz]
[urn=urn:pulumi:zzzzz::CustomerInstance::azure-native:app/v20231102preview:Certificate::cert-zzzzzzz]
[provider=urn:pulumi:zzzzz::CustomerInstance::pulumi:providers:azure-native::zzzzz-azure-provider::fa2165a6-a041-445b-a1af-46260a4d9a66]