https://pulumi.com logo
#dotnet
Title
# dotnet
w

witty-laptop-88449

06/14/2022, 6:07 AM
Hi Team, I created a Azure Service Bus and then an Action Group with email alerts to notify the dead lettered messages. The CI/CD is done through Azure DevOps pipelines. The email for the action group is configured as a settings property. I could successfully provision the service bus, action group with required alerts during the deployment. But when i edited the release to give a different email address and re-deployed the release the action group got deleted instead of updating the email address. Any thoughts on this issue, for me it looks more like a Pulumi issue than coding issue. Please advise me
1
e

echoing-dinner-19531

06/14/2022, 8:17 AM
Did the preview diff say it was going to delete the action group?
w

witty-laptop-88449

06/14/2022, 11:25 AM
yes
azure-nativeinsightsActionGroup sb-bb-fulfillment-us-devt delete
e

echoing-dinner-19531

06/14/2022, 11:27 AM
I suspect your program is wrong somehow and the ActionGroup isn't being sent to the engine anymore.
I can't think how the engine could translate a change of property to a plain delete. A delete-replace maybe, but it wouldn't just delete it.
w

witty-laptop-88449

06/14/2022, 11:28 AM
i modified the settings variable of the same release which provisioned the action group
in Az DevOps CD pipeline
e

echoing-dinner-19531

06/14/2022, 11:31 AM
I'd raise an issue at https://github.com/pulumi/pulumi-azure-native if you think a plain property change triggered a delete. Try and give as much information as you can in the issue, including the code constructing the ActionGroup and if you can the logs from running pulumi preview.
w

witty-laptop-88449

06/14/2022, 12:25 PM
I was doing the mistake of checking if the resource was present before creating it. When i corrected that it started working. Appreciate your time @echoing-dinner-19531
👍 1
5 Views