Passing the id
attribute of a service principal in azapi_resource
's identity
block returns Error: parsing Azure ID
#437
Labels
I have a
azurerm_logic_app_workflow
block that uses a system assigned service principal.and an api connection to SharePoint
When running
terraform plan
I getThe id is passed correctly from the first block to the connection block. After searching the web for way too long, I saw a mention about the format needs to be something like
"/subscriptions/${data.azurerm_subscription.current.subscription_id}/resourceGroups/${azurerm_resource_group.rg.name}/providers/microsoft.managedidentity/UserAssignedIdentities/${name_of_managed_identity}"
.I've had no luck with that either.
It would be a lot more intuitive if we were able to pass the principal id in
identity_ids
The text was updated successfully, but these errors were encountered: