For the complete documentation index, see llms.txt. For a full content snapshot, see llms-full.txt. Append .md to any kestra.io/docs/* URL for plain Markdown.

Terraform Resource: kestra_user_group_membership

Manages a single membership of a user in a group. Use this resource when different Terraform configurations need to manage different group memberships for the same user, without overwriting each other’s assignments. Each resource owns exactly one user-group pair.

Example usage

resource "kestra_user_group_membership" "example" {
user_id = "4by6NvSLcPXFhCj8nwbZOM"
group_id = "2ZQwf5Lj9pUyKxRtBvNm8H"
}

Schema

Required

  • group_id (String) The id of the group the user should belong to.
  • user_id (String) The id of the user.

Read-Only

  • id (String) The ID of this resource.
  • tenant_id (String) The tenant id.

Import

Import is supported using the following syntax:

The terraform import command can be used, for example:

terraform import kestra_user_group_membership.example {{group_id}}/{{user_id}}

Was this page helpful?