Lerentis / terraform-provider-gitea

Terraform Provider for your Gitea Instance
https://registry.terraform.io/providers/Lerentis/gitea/latest
MIT License
22 stars 11 forks source link

Missing repo in team not added back by Terraform #57

Open tobiasbp opened 1 year ago

tobiasbp commented 1 year ago

Describe the bug A repository is not added back to a team if the repository has been manually deleted from the team in Gitea.

P.S.: If a user is removed from a team, she is not added back (It may be a general problem with this provider).

To Reproduce

  1. Create a team t1 with access to repos r1 & r2 using Terrafom
  2. In Gitea, manually delete repo r2 from team t1
  3. Run a plan with Terraform
  4. Observe that the plan does not include adding repo r2 to team t1

Expected behavior Terraform should modify existing teams in Gitea that do not match the configuration specified.