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

avi_user unsupported argument

Open vitality411 opened this issue 11 months ago • 0 comments

Describe the bug

In the example usage of avi_user from https://registry.terraform.io/providers/vmware/avi/latest/docs/resources/avi_user#example-usage the argument tenant_ref is used. But this is not a supported argument. The correct arguement is default_tenant_ref.

Reproduction steps

  1. Try do deploy avi_user resource
resource "avi_user" "foo" {
    name = "terraform-example-foo"
    tenant_ref = "/api/tenant/?name=admin"
}
  1. Apply
  2. Receive error
│ Error: Unsupported argument
│
│   on 201_t1-001-alb-cloud.tf line 87, in resource "avi_user" "foo":
│   87:     tenant_ref = "/api/tenant/?name=admin"
│
│ An argument named "tenant_ref" is not expected here.

Expected behavior

Adjust example usage with the correct argument.

Additional context

No response

vitality411 avatar Mar 11 '24 07:03 vitality411