Quantcast
Channel: Feed of "gitea/terraform-provider-gitea"
Viewing all articles
Browse latest Browse all 64

tobiasbp created pull request gitea/terraform-provider-gitea#36

$
0
0

This PR adds two new resources, gitea_team_membership& gitea_team_members, in an attempt to decouple gitea_team resources from team memberships. This facilitates the removal of members from teams without altering/recreating an existing team resource.

This PR adresses this issue: #30

The ability to set members in the gitea_team resource has been removed.

The resources proposed here are inspired by similar resources in the GitHub provider:

gitea_team_members

A single resource manages all members of a team.

  • This resource must be recreated when membership changes. This means, that other team members will temporarily loose their membership until the recreation of the resource is complete.
  • If the recreation of the resource fails, other users will have lost their membership until the resource can be recreated.

gitea_team_membership

A single resource holds the relationship between a single user and a single team.

  • Memberships can be deleted without affecting other users.

Viewing all articles
Browse latest Browse all 64

Trending Articles