Import AutoResolveIntegrationRuntime in the tfstate

Hi folks!

Can someone tell me how to import an existing AutoResolveIntegrationRuntime from Azure Data Factory into the state? I cannot find what ResourceID to use. The plan is somehow trying to create a new one, whilst it is already present in the data factory.

When trying to import it this is the error message that I receive:

The endings of plausible ResourceIDs that I’ve tried include:

*/integrationruntimes/azurerm_data_factory_integration_runtime_azure
*/integrationruntimes/AutoResolve
*/integrationruntimes/Managed
*/integrationruntimes/AutoResolveIntegrationRuntime
*/integrationruntimes/azurerm_data_factory_integration_runtime_managed
*/integrationruntimes/autoresolveruntime
*/integrationruntimes/autoresolve
*/integrationruntimes/azurerm_data_factory_integration_runtime_azure

Thanks a bunch for thinking this through!

Did you check the docs? Terraform Registry

1 Like

The problem is that it seems to me that an AutoResolveIntegrationRuntime does not have a ResourceID

I’ve never used Azure, but it certainly looks like the docs have a plausible example of giving an ID.