https://pulumi.com logo
#general
Title
# general
c

colossal-plastic-81954

03/13/2024, 7:34 AM
I have some CosmosDb resources created with Pulumi. The primary key is added to the output of the stack using the
ListDatabaseAccountKeys.Invoke
method. We recently implemented key rotation though an Azure CLI script. We need to update the output of the stack to reflect the newly generated key. I expected that if I ran
pulumi refresh
that my keys would be updated, but they are not. Given that the underlying resource has changed, shouldn't
pulumi refresh
pick that up?