Hi! I have an issue related to expired credentials...
# general
k
Hi! I have an issue related to expired credentials on deletes. We use Azure Identity authentication together with a CosmosDB for PostgreSQL Cluster. Creates and updates work just fine, but deletes usually fail as the access token used with the updates has expired by then. We cannot use the
azureIdentityAuth
properties available in the Postgres provider as the scope used to get an access token is meant for flexible servers, not the cluster resource that we're using. The easiest solution is to simply run a
pulumi up
followed by a
pulumi destroy
right after, but that's such a hacky solution. Ideally this is something that could be solved in the postgres terraform provider, but has anyone faced similar challenges before?