Azure-Player / azure.datafactory.tools

Tools for deploying Data Factory (v2) in Microsoft Azure
https://azureplayer.net/adftools
MIT License
207 stars 69 forks source link

Exclusion of IntegrationRuntimes - InputIsMalformedDetailed #385

Closed Lynchie435 closed 4 months ago

Lynchie435 commented 4 months ago

When performing a release to our PROD environment sadly we have (not by my choice) an SHIR that runs for each environment (DEV/UAT/PROD) and then in some cases I've had to install an SHIR on the PROD environment (due to VPN's) and then use a link-shared SHIR back on my dev-adf from the prod-adf.

Deployments are playing havoc, initially it was telling me there was a permissions issue with the 'SHIR' IR and that there were no permissions.

I decided that the best solution then would be to "exclude" the integrationRuntime from the deployment. I have added -integrationRuntine.*

to my exclusion list and then the error I got on release was:

"InputisMalformedDetail: Input is malformed, Reason: could not get integration runtime details for SHIR-PROD"

Now this is one SHIR that is shared from PROD to DEV, however I don't understand why I'm excluding integrationRuntime that it is even attempting to do anything with the IR's.