How do I get up my connections to show up in the designer ?
In my logicapp.json
file I am setting the connection names to be functions of parameters like so:
"variables": {
"servicebus_1_Connection_Name": "[concat('servicebus-',parameters('logicAppName'))]",
"azureblob_1_Connection_Name": "[concat('blob-',parameters('logicAppName'))]"
},
However the designer doesn't like this:
When deploying, the connections show up no problem:
Try using parameters
instead of variables
for this. Variables need to be instantiated while parameters only need to be declared, bear in mind that you will need to declare the parameter in both the logic app template and in the arm deployment template in the logicapp.json
file and also in the logicapp.parameters.json
file.
来源:https://stackoverflow.com/questions/56693978/when-converting-parameters-to-variables-connections-are-broken-at-dev-time