Open hknutsen opened 9 months ago
Just had the same issue using the AzAPI provider for Terraform:
resource "azapi_resource" "active_directory_admin" {
type = "Microsoft.DBforPostgreSQL/servers/administrators@2017-12-01"
parent_id = azurerm_postgresql_server.example.id
name = "activeDirectory"
body = jsonencode({
properties = {
administratorType = "ActiveDirectory"
login = "adadmin"
sid = data.azurerm_client_config.current.object_id
tenantId = data.azurerm_client_config.current.tenant_id
}
})
}
Original issue: hashicorp/terraform-provider-azurerm#24168
Getting the following error when trying to configure a PostgreSQL server Entra ID administrator using the AzureRM provider for Terraform:
Terraform configuration:
I don't get this error 100% of the time, but I get it more often than not.