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

azuread_user import results in NULL 'user_type' #1598

Open
DevopsMercenary opened this issue Dec 18, 2024 · 0 comments
Open

azuread_user import results in NULL 'user_type' #1598

DevopsMercenary opened this issue Dec 18, 2024 · 0 comments

Comments

@DevopsMercenary
Copy link

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritise this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritise the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform (and AzureAD Provider) Version

$ tf -v
Terraform v1.9.8
on darwin_arm64

  • provider registry.terraform.io/hashicorp/azuread v3.0.2
  • provider registry.terraform.io/hashicorp/azurerm v4.14.0

Affected Resource(s)

  • azuread_user

Terraform Configuration Files

resource "azuread_user" "user-to-import" {

}

Expected Behavior

terraform import azuread_user.user-to-import  /users/aaaaaaaa-6985-4156-b716-4fdd5b4dcafc

Import successful!

terraform state show azuread_user.user-to-import

resource "azuread_user" "user-to-import" {
    {...snip...}
    user_type                      = "Guest"
}

Actual Behavior

terraform import azuread_user.user-to-import  /users/aaaaaaaa-6985-4156-b716-4fdd5b4dcafc

Import successful!

terraform state show azuread_user.user-to-import

resource "azuread_user" "user-to-import" {
    {...snip...}
    user_type                      = null
}

Steps to Reproduce

See expected behavour

Important Factoids

References

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

No branches or pull requests

1 participant