Installing-and-Configuring-HashiCorp-Vault icon indicating copy to clipboard operation
Installing-and-Configuring-HashiCorp-Vault copied to clipboard

m5-2-azure_vms Terraform apply fails with empty object_id value

Open mjmenger opened this issue 1 year ago • 1 comments

It appears that there was a breaking change to the AzureRM API about the release of version 2.37 of the AzureRM Terraform provider.

A workaround is including

    azuread = {
      source = "hashicorp/azuread"
      version = "2.38.0"
    }

in the terraform block

and

data "azuread_client_config" "current" {}

in the terraform.tf file

I attempted to switch the hashicorp/azurerm provider to version 3.0+, and found a cascading series of errors to troubleshoot.

mjmenger avatar Apr 30 '23 18:04 mjmenger