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

import of users does not show diff #33

Open
wilkejo opened this issue Dec 3, 2024 · 1 comment
Open

import of users does not show diff #33

wilkejo opened this issue Dec 3, 2024 · 1 comment

Comments

@wilkejo
Copy link

wilkejo commented Dec 3, 2024

Hello conduktor team,

I tried to manage existing conduktor user with terraform.

I wrote the following import statement

import {
  to = conduktor_user_v2.user
  id = "[email protected]"
}

and the user looks like this

resource "conduktor_user_v2" "user" {
  name     = "some-user"
  spec {
    firstname   = "firstname"
    lastname    = "lastname"
    permissions = [
     ... some permissions
]
  }
}

the import worked and terraform plan state there are not changes to the user.

This is not correct in my case b/c the permissions defined in the terraform user are less than the actual configuration. I would have expected a diff that hightlights that permissions will be removed / the user will be changed at all.

@Stu-conduktor
Copy link
Contributor

Hi @wilkejo thanks for reporting, let me discuss with the team we'll get back to you soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants