-
Notifications
You must be signed in to change notification settings - Fork 71
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
given_name and surname detected as null in v0.4.1 #75
Comments
Hi @shoddyguard, thanks for opening this issue. Is it possible that these two fields have been updated by an external tool (or someone doing it manually) ? The reason this started happening with v0.4.1 is because this version introduced support for additional user attributes (such as given name and surname). My assumption is that someone or something updated the user object in AD with a name and surname and then once you upgraded to 0.4.1 it started complaining because the default value for these in the operator is null. If this is the case then the plan will return empty again once you set |
Hi @koikonom thanks for the quick response. While the output is a little hard to read it looks like it's unhappy with |
OK I got it now, thanks for clarifying. I managed to reproduce the issue on my side. |
Many thanks for fixing this so quickly. 😄 |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks! |
Terraform Version and Provider Version
Terraform v0.14.3
hashicorp/ad v0.4.1
Windows Version
Various (Windows 10 2004, Server 2019, Server 2016, MacOS)
Affected Resource(s)
ad_user
Terraform Configuration Files
Debug Output
Debug output appears to expose plaintext secrets so if there's a method for sharing securely please let me know.
Expected Behavior
What should have happened?
No changes should be detected or made to the user.
Actual Behavior
Terraform detected that the surname and given_name needed to be set to null
Steps to Reproduce
terraform plan
Important Factoids
This runs as part of a CI/CD pipeline and only started happening yesterday after v.0.4.1 was released.
Community Note
The text was updated successfully, but these errors were encountered: