terraform-provider-avi
terraform-provider-avi copied to clipboard
avi_user unsupported argument
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
- Try do deploy avi_user resource
resource "avi_user" "foo" {
name = "terraform-example-foo"
tenant_ref = "/api/tenant/?name=admin"
}
- Apply
- 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