Skip to content

Support moved from azuread_group to azuread_group_without_members #1832

@cwe1ss

Description

@cwe1ss

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

Description

It would be great if we could use the moved-statement to migrate an existing group from azuread_group to azuread_group_without_members. Right now, this fails with the following error:

│ Error: Unsupported `moved` across resource types
│ 
│   on state.tf line 1:
│    1: moved {
│ 
│ The provider "registry.terraform.io/hashicorp/azuread" does not support
│ moved operations across resource types and providers.

New or Affected Resource(s)

  • azuread_group
  • azuread_group_without_members

Potential Terraform Configuration

moved {
  from = azuread_group.this
  to   = azuread_group_without_members.this
}

References

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions