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

user_ldap name seems to be required not optional #298

Open
jzamanski-pm opened this issue Oct 13, 2023 · 2 comments
Open

user_ldap name seems to be required not optional #298

jzamanski-pm opened this issue Oct 13, 2023 · 2 comments

Comments

@jzamanski-pm
Copy link

https://github.com/fortinetdev/terraform-provider-fortios/blob/cd5ed5417300f3bb658b89886ca7dde3f60685c7/fortios/resource_user_ldap.go#L42C4-L42C24

when creating a new user_ldap resource without providing an optional name i'm getting a 500 error
providing the name field fixed it

name is not being sent in the HTTP POST when omitted so if it's supposed to be inferred from the terraform resource name or something that doesn't seem to be working right

@MaxxLiu22
Copy link

Hi @jzamanski-pm ,

Thank you for raising this issue, reproduced on fortios 7.2.5, name should be a required argument, I have reported it the development team for advice.

Thanks,
Maxx

@jzamanski-pm
Copy link
Author

Hi Maxx,
The same appears to be true for fortios_system_linkmonitor.
Thanks,
Jeff

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

2 participants