Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Terraform migration from azuread v1.6.0 to 2.41.0 #1180

Open
RobertvBraam opened this issue Sep 5, 2023 · 2 comments
Open

Terraform migration from azuread v1.6.0 to 2.41.0 #1180

RobertvBraam opened this issue Sep 5, 2023 · 2 comments

Comments

@RobertvBraam
Copy link

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
@manicminer
Copy link
Contributor

Possible core/sdk issue, requires investigation

@RobertvBraam
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants