Hi,
Any update at all as we're getting the exact same error running in a GitLab pipeline?
Thanks
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
We are deploying our Infrastructure in Azure using Terraform. With SPN authentication, we were able to execute the terraform script and deploy the resources successfully. However as our requirement changed in the production environment, we are trying to use a "User assigned managed identity" instead of SPN for Terraform authentication to Azure. We followed this document https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/guides/managed_service_identity.html#configuring-terraform-to-use-a-managed-identity
ManagedIdentityAuthorizer: failed to request token from metadata endpoint: received HTTP status 400 with error: {"error":"invalid_request","error_description":"Identity not found"}
Tf providers used.
provider "azurerm" {
storage_use_azuread = true
use_cli = true
features {}
subscription_id = var.subscription_id
use_msi = true
}
provider "azurerm" {
alias = "DNS"
features {}
subscription_id = var.dns_subscription_id
use_msi = true
}
Can you please check the above error and assist us to be able to fix it?
Hi,
Any update at all as we're getting the exact same error running in a GitLab pipeline?
Thanks