Open pickgr opened 1 month ago
I will take a look and reply back
I tried to create and delete user via simple resource and also did same with for_each construction - i was able to create and delete users without issues.
Also i tried to press "ctrl+c" during destroy procedure to stop it - provider didn't crashed, but shown next output:
Plan: 0 to add, 0 to change, 3 to destroy.
Do you really want to destroy all resources?
Terraform will destroy all your managed infrastructure, as shown above.
There is no undo. Only 'yes' will be accepted to confirm.
Enter a value: yes
cloudconnexa_user.this["Usern_name1"]: Destroying... [id=username1@xxx]
cloudconnexa_user.this["User_name2"]: Destroying... [id=username2@xxx]
cloudconnexa_user.this["User_name3"]: Destroying... [id=username3@xxx]
^C
Interrupt received.
Please wait for Terraform to exit or data loss may occur.
Gracefully shutting down...
Stopping operation...
cloudconnexa_user.this["User_name3"]: Destruction complete after 1s
cloudconnexa_user.this["Usern_name1"]: Destruction complete after 1s
cloudconnexa_user.this["User_name2"]: Destruction complete after 2s
╷
│ Error: execution halted
│
│
╵
╷
│ Error: execution halted
│
│
╵
╷
│ Error: execution halted
│
│
╵
I was not able to reproduce crashing provider when deleting user
This may be related to https://github.com/OpenVPN/terraform-provider-cloudconnexa/issues/3
After deleting a user, the provider crashes:
Please note it may be difficult for me to provide more data, reproduce or verify a fix as I don't have direct access to Connexa anymore.