You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Vote on this issue by adding a 👍 reaction to the original issue initial description to help the maintainers prioritize.
Do not leave "+1" or other comments that do not add relevant information or questions.
If you are interested in working on this issue or have submitted a pull request, please leave a comment.
Terraform
1.6.3
Terraform Provider
2.5.1
VMware vSphere
v7.0.3
Description
I’m facing a strange error when trying to create my vms with Terraform in our new datacenter using the vsphere plugin.
Attached is a screenshot of the default error.
I can confirm that this only occurred once Enhance Linked Mode was enable and prior all the vm creations running identical config/code worked successfully. Due to time constraints we have disabled enhanced linked mode and are currently no longer facing issues.
This sounds somewhat similar to the following issues/discussions:
I believe the suggestion is to create 2 unique accounts for each datacenter and reduce global permissions and apply roles/permissions at the vCenter Server level – to limit the scope and visibility of the account.
Is there a reference for the exact roles/permissions to set for each account that could be provided?
He mentioned that if terraform is interacting with the content library we need global permissions for content library for each account – can this be elaborated?
How does that enhancement affect the original issue – is the problem isolate to the datacenter_id parameter?
Community Guidelines
Terraform
1.6.3
Terraform Provider
2.5.1
VMware vSphere
v7.0.3
Description
I’m facing a strange error when trying to create my vms with Terraform in our new datacenter using the vsphere plugin.
Attached is a screenshot of the default error.
I can confirm that this only occurred once Enhance Linked Mode was enable and prior all the vm creations running identical config/code worked successfully. Due to time constraints we have disabled enhanced linked mode and are currently no longer facing issues.
This sounds somewhat similar to the following issues/discussions:
400 Bad Request
cloningvsphere_virtual_machine
on vSphere 8 #1819Affected Resources or Data Sources
vsphere virtual machine creation
Terraform Configuration
Any configuration to create a simple linux or windows vm
Debug Output
Debug output is in screenshot.
Panic Output
No response
Expected Behavior
Expected behaviour is the creation of the vm
Actual Behavior
Fails with the 400 bad request
Steps to Reproduce
Environment Details
No response
Screenshots
No response
References
No response
The text was updated successfully, but these errors were encountered: