terraform-provider-avi icon indicating copy to clipboard operation
terraform-provider-avi copied to clipboard

avi_user password not optional

Open vitality411 opened this issue 11 months ago • 0 comments

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

vitality411 avatar Mar 11 '24 07:03 vitality411