https://pulumi.com logo
#azure
Title
# azure
m

miniature-leather-70472

02/26/2021, 10:56 AM
Is there any way to update an existing resource without having Pulumi own it? I am trying to create an Azure App Service certificate, which requires adding an entry to a TXT record in DNS, however this TXT record already exists, with entries added already, and will continue to be updated outside of Pulumi so it's not practical to have this managed in Pulumi state
t

tall-librarian-49374

02/26/2021, 11:10 AM
You’d have to import-update-delete from state…
Why do you want to update it with Pulumi then? Why not Azure CLI or something, if that’s a one-time operation.
m

miniature-leather-70472

02/26/2021, 11:28 AM
It's part of a deployment in Pulumi, so I'm creating the certificate object in Pulumi and need the DNS record to validate it
I guess I could have the C# call the rest API, but can I get that to depend on the certificate order being created first using Apply?
t

tall-librarian-49374

02/26/2021, 12:39 PM
Yes, it should be possible with
Apply
3 Views