hashicorp / terraform-provider-azuread

Terraform provider for Azure Active Directory
https://registry.terraform.io/providers/hashicorp/azuread/latest/docs
Mozilla Public License 2.0
432 stars 300 forks source link

Import syntax for groups is wrong in docs #1527

Open richmoore opened 1 month ago

richmoore commented 1 month ago

The docs say:

terraform import azuread_group.my_group 00000000-0000-0000-0000-000000000000

should be:

terraform import azuread_group.my_group /group/00000000-0000-0000-0000-000000000000

Threpio commented 1 month ago

Hi there,

The documentation in the code already shows an updated version of the terraform import with the prefix /groups/.

The registry documentation on the terraform website is just out of date. This will be updated shortly and does not require a PR.

Code:

terraform import azuread_group.my_group /groups/00000000-0000-0000-0000-000000000000