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

avi_user unsupported argument #583

Open
vitality411 opened this issue Mar 11, 2024 · 0 comments
Open

avi_user unsupported argument #583

vitality411 opened this issue Mar 11, 2024 · 0 comments
Labels

Comments

@vitality411
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant