az logic workflow create/update removes existing parameters #7537
Labels
Auto-Assign
Auto assign by bot
Azure CLI Team
The command of the issue is owned by Azure CLI team
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Logic App
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Milestone
Describe the bug
I am using terraform (azurerm provider) to create Azure Logic App resources. These have configured parameters for API connections that are used within the Logic Apps. I then have a separate repo where the definitions are kept, and use Azure CLI to update them as part of my deployment pipeline.
What I am finding is that whenever I update the Logic Apps via the Azure CLI (az logic workflow create/update), it updates the definition as expected, however it replaces the template object with {}. As the template object state is initially created and managed by terraform, I need this to be retained after the update.
I thought I could just remove the parameters object from JSON definition that is used, but that didn't work... -
This may be my lack of understanding, but is there a way to retain this when passing updated definition to retain the parameters?
Related command
az logic workflow create/update
Errors
No error, but not expected functionality
Issue script & Debug output
.
Expected behavior
parameters is retained after update of definitions
Environment Summary
azure-cli: 2.56
azure-extensions: 1.1.0
Additional context
No response
The text was updated successfully, but these errors were encountered: