terraform-provider-azuread
terraform-provider-azuread copied to clipboard
Terraform migration from azuread v1.6.0 to 2.41.0
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
- Update the required_providers from
1.6.0to2.41.0 - Run
terraform init -upgrade - Update all files with breaking changes
- Run
terraform plan -var-file="../variables.tfvars
Possible core/sdk issue, requires investigation
Ok, please let me know if I can help out in any way.