Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Missing repo in team not added back by Terraform #57

Open
tobiasbp opened this issue Sep 5, 2023 · 0 comments
Open

Missing repo in team not added back by Terraform #57

tobiasbp opened this issue Sep 5, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@tobiasbp
Copy link

tobiasbp commented Sep 5, 2023

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.

  • Terraform Version
    1.4.6

  • Operating System
    Terraform Cloud

  • Provider Version
    0.16.0

@tobiasbp tobiasbp added the bug Something isn't working label Sep 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant