-
Notifications
You must be signed in to change notification settings - Fork 9.5k
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
Splat with for_each returns "this object does not have an attribute named ..." #22489
Comments
Please let me know if I need to provide more information. Any help is appreciated. Thank you! |
This issue has been automatically migrated to hashicorp/terraform-provider-vsphere#823 because it looks like an issue with that provider. If you believe this is not an issue with the provider, please reply to hashicorp/terraform-provider-vsphere#823. |
How did this issue get closed if it just points to the same exact issue that never got a response? |
Hi @sanzen193, Issues with providers are automatically moved to the correct repo where they can resolved, and closed in the Terraform repo. On further inspection however, this isn't an issue with Azure specifically, and we can reopen it here for investigation. |
We have an issue open with a full description of the behavior already at #22562 . |
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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Terraform Version
v0.12.6
Terraform Configuration Files
Debug Output
Crash Output
Expected Behavior
What should have happened?
I removed some of my vsphere_virtual_machine configuration to reduce the amount of code in this post. Ultimately, I want all VMs to run my domain_join script.
Actual Behavior
What actually happened?
I receive an error stating that the default_IP_address attribute does not exist and therefore nothing gets passed
Steps to Reproduce
Please list the full steps required to reproduce the issue, for example:
terraform init
terraform apply
null_resource.domain_join[1]: Creating...
Error: Unsupported attribute: This object does not have an attribute named "default_ip_address".
Additional Context
Are there anything atypical about your situation that we should know? For example: is Terraform running in a wrapper script or in a CI system? Are you passing any unusual command line options or environment variables to opt-in to non-default behavior?
References
Are there any other GitHub issues (open or closed) or Pull Requests that should be linked here? For example:
Add issue_template #6017
The text was updated successfully, but these errors were encountered: