drakkan / terraform-provider-sftpgo

Terraform provider for SFTPGo
Apache License 2.0
24 stars 7 forks source link

Can't modify username of an sftp user #5

Open felipem1210 opened 9 months ago

felipem1210 commented 9 months ago

Hi, I needed to change the username of an SFTP user I created with the sftpgo_user resource. The terraform plan is showing a change in the resource and when I do the apply is throwing the following error:

Error: Error updating user │ │ with sftpgo_user.airflow_sftp_acc, │ on fce_server.tf line 127, in resource "sftpgo_user" "myuser": │ 127: resource "sftpgo_user" "mysuer" { │ │ Could not update user, unexpected error: status: 404, body: {"error":"Not Found","message":""}

Maybe is a problem in the provider? As workaround I will recreate the user.

Thanks