vmware / terraform-provider-avi

Terraform AVI Networks provider
https://registry.terraform.io/providers/vmware/avi/latest/docs
Mozilla Public License 2.0
31 stars 32 forks source link

avi_user password not optional #582

Open vitality411 opened 8 months ago

vitality411 commented 8 months ago

Describe the bug

According to https://registry.terraform.io/providers/vmware/avi/latest/docs/resources/avi_user#argument-reference the password argument for avi_user resource is optional but if deployed without a password the following error HTTP code: 400; error from Controller: map[error:Password is required] is reported.

Reproduction steps

  1. Try do deploy avi_user resource
resource "avi_user" "foo" {
  name               = "terraform-example-foo"
  default_tenant_ref = "/api/tenant/?name=admin"
}
  1. Apply
  2. Receive error HTTP code: 400; error from Controller: map[error:Password is required]

Expected behavior

Document that the password is required.

Additional context

No response