Share

Creates and manages share objects.

Manages shares and list shares permissions granted to the group members for each shared resource.

Example Usage

resource "ionoscloud_share" "share" {
  group_id = "groupId"
  resource_id = "resourceId"
  edit_privilege = true
  share_privilege = false
}

Argument reference

  • edit_privilege - (Optional)[Boolean] The group has permission to edit privileges on this resource.

  • group_id - (Required)[string] The ID of the specific group containing the resource to update.

  • resource_id - (Required)[string] The ID of the specific resource to update.

  • share_privilege - (Optional)[Boolean] The group has permission to share this resource.

Import

Resource Share can be imported using the resource id, e.g.

terraform import ionoscloud_share.myshare {group uuid}/{resource uuid}

Last updated