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

Doc error nutanix_user #674

Open
Taillan opened this issue Feb 20, 2024 · 0 comments
Open

Doc error nutanix_user #674

Taillan opened this issue Feb 20, 2024 · 0 comments

Comments

@Taillan
Copy link

Taillan commented Feb 20, 2024

On the page https://registry.terraform.io/providers/nutanix/nutanix/latest/docs/data-sources/user

//Retrieve by Name
data "nutanix_user" "userbyname" {
    name = nutanix_user.user.name
}

is false, error :

╷
│ Error: Unsupported argument
│ 
│   on main.tf line 35, in data "nutanix_user" "account_name":
│   35:   name = "account_name"
│ 
│ An argument named "name" is not expected here.

but with the argument user_name it work

//Retrieve by Name
data "nutanix_user" "userbyname" {
    user_name = nutanix_user.user.name
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant