terraform-provider-azuread icon indicating copy to clipboard operation
terraform-provider-azuread copied to clipboard

Terraform migration from azuread v1.6.0 to 2.41.0

Open RobertvBraam opened this issue 2 years ago • 2 comments

Terraform (and AzureAD Provider) Version

Terraform = v1.5.6 azuread = v2.41.0 azurerm = v2.41.0 random = v3.5.1

Affected Resource(s)

  • azuread_group
  • azuread_application
  • azuread_service_principal
  • azuread_service_principal_password

Terraform Configuration Files

https://gist.github.com/RobertvBraam/b7251a4ceccd68bc2f003dc5bacc7446

Debug Output

https://gist.github.com/RobertvBraam/c1bc5f8c592c657f89486fee0100c060

Panic Output

It's in the output of the console: https://gist.github.com/RobertvBraam/c1bc5f8c592c657f89486fee0100c060

Expected Behavior

The version upgrade with the breaking changes to the Terraform scripts will allow me to update the scripts to the new version without any changes in the resources (in Azure) itself.

Actual Behavior

After the upgrade with terraform init -upgrade command and running a terraform plan -var-file="../variables.tfvars" command there were error reported in the console.

Steps to Reproduce

  1. Update the required_providers from 1.6.0 to 2.41.0
  2. Run terraform init -upgrade
  3. Update all files with breaking changes
  4. Run terraform plan -var-file="../variables.tfvars

RobertvBraam avatar Sep 05 '23 04:09 RobertvBraam

Possible core/sdk issue, requires investigation

manicminer avatar Sep 06 '23 12:09 manicminer

Ok, please let me know if I can help out in any way.

RobertvBraam avatar Sep 08 '23 03:09 RobertvBraam