-
Notifications
You must be signed in to change notification settings - Fork 2
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
[ BUG ] - wallix-bastion_domain_account_credential #17
Comments
Hello @FranckSallet, this is a normal behaviour of Terraform. Between what is in state and the reality there is differences so the recreation is done. One way to overcome those kind of event is to use the lifecycle meta-data with an ignore-changes or you can use the import capacity before doing the apply. I will do some testing around it. For the Feature request, could you create a new issue as a Feature Request with a bit more of information of what you want to achieve by that. Best regards, |
Hello @bsimonWallix |
I'm reopening the case because there is indeed a bug. I don't understand how to bypass this with the lifecycle meta-argument below the terraform plan after a password reset through the GUI:
below tf config:
Regards |
Hi @FranckSallet, I can't reproduce the issue with or without the lifecycle meta-data. We don't refresh password, passphrase and privatekey fields.
Maybe this is due to the count. Are you doing a loop on a list of accounts ? If the list order change this can explain the recreation of the ressource. |
I just figured out where the bug comes from. You are rigth, we can change the password of a "wallix-bastion_domain_account_credential" resource from the GUI with no impact on the terraform. But if you enable "propagate credential change", the resource "wallix-bastion_domain_account_credential" is deleted and terraform terraform will try to recreate it. Regards |
Were you able to reproduce the problem ? Regards, Franck |
Hello, we reproduce the behaviour. Currently it's lacking API endpoint to leverage it. Best Regards, |
have you made progress on version 0.14.0 of the provider ? Regards |
Hello, @FranckSallet not yet. There is changement on API regarding futur version of bastion and we will link this next version to it. |
Describe the bug
When we reset a password on a global account, the "wallix-bastion_domain_account_credential" resource associated with it is deleted and is therefore recreated on the next "terraform apply"
To Reproduce
Steps to reproduce the behavior:
Expected behavior
we need to be able to change a password on a global account without the resource "wallix-bastion_domain_account_credential" being affected. not to mention the password policy and the password checkin/checkout...
Feature Request
it would be necessary to be able to propagate the password when creating the resource "wallix-bastion_domain_account_credential"
thanks for the support
The text was updated successfully, but these errors were encountered: