DeviaVir / terraform-provider-gsuite

A @HashiCorp Terraform provider for managing G Suite resources.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Group Setting Resources Deletes group then the group resouce fails with 404 groupKey not found.

Madankapoor opened this issue · comments

resource "gsuite_group" "devteam" {
  email       = "devteam2@sillevis.net"
  name        = "devteam2@sillevis.net"
  description = "Developer team2"
}

resource "gsuite_group_settings" "devteam" {
  email = "${gsuite_group.devteam.email}"

  allow_external_members  = true
  show_in_group_directory = true
  who_can_discover_group  = "ALL_IN_DOMAIN_CAN_DISCOVER"
}

If we run terraform apply then run terraform destroy. The destroy step will fail with 404.

Group Setting Resources Deletes group then the group resource fails with 404 group key not found when trying to delete the group.