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

Integer field GuacUser.lastActive can't hold DateTime as Long #12

Open
lbrpsoftware opened this issue May 14, 2023 · 0 comments
Open

Integer field GuacUser.lastActive can't hold DateTime as Long #12

lbrpsoftware opened this issue May 14, 2023 · 0 comments

Comments

@lbrpsoftware
Copy link

Terraform Version

  • Terraform v1.4.6
  • Provider registry.terraform.io/techbeck03/guacamole v1.4.1
  • GuacD and Guacamole images both v1.5.1

Affected Resource

  • guacamole_user

Terraform Configuration Files

resource "guacamole_user" "user" {
  username = "User"
  password = "Password"
  group_membership   = [ "Admin Group" ]
  system_permissions = [ "ADMINISTER", "CREATE_USER" ]
  connection_groups  = [ ]
  connections        = [ ]
  lifecycle {
    ignore_changes = [password]
  }
}

Expected Behavior

✅ No error message when applying users for the second time, after logged in into the Guacamole webinterface.

Actual Behavior

💥 Error: json: cannot unmarshal number 1684076108425 into Go struct field GuacUser.lastActive of type int

Steps to Reproduce

  1. Terraform Apply
  2. Login into the Guacamole webinterface so the user field lastActive gets set.
  3. Terraform Apply
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

1 participant