Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User Resource does not delete from Kestra Instance (shows in UI) #129

Open
japerry911 opened this issue Sep 8, 2024 · 1 comment
Open
Labels
area/backend Needs backend code changes bug Something isn't working

Comments

@japerry911
Copy link
Contributor

japerry911 commented Sep 8, 2024

Expected Behavior

When I remove/destroy Kestra User in Terraform code, I expect it to remove user from UI/instance.

Actual Behaviour

It does not appear to remove user from UI/instance, and if I try to create the User after destroying, it says there is duplicate username.

Steps To Reproduce

resource "kestra_user" "kestra_user_testaroo" {
  username   = "testaroo@foundationdirect.com"
  namespace  = ""
  first_name = "TestFirst"
  last_name  = "TestLast"
  email      = "testaroo@foundationdirect.com"
  groups     = [kestra_group.kestra_group_all_launch.id]
}

The above creates successfully, when it is commented out/then applied and destroyed, it does not leave UI/instance.

Environment Information

  • Kestra Version: 0.18.4
  • Operating System (OS / Docker / Kubernetes): Kestra Cloud
  • Java Version (If not docker): n/a

Example flow

No response

@japerry911 japerry911 added the bug Something isn't working label Sep 8, 2024
@anna-geller anna-geller added the area/backend Needs backend code changes label Sep 8, 2024
@japerry911
Copy link
Contributor Author

This was user misunderstanding I think ,where the Bindings were showing. I needed to remove binds first I believe before user,.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/backend Needs backend code changes bug Something isn't working
Projects
Status: In progress
Development

No branches or pull requests

2 participants