Greetings.
I'm using the vsphere provider, but i don't have clarify about how to use this provider through terrascript:
Actually i'm using the following configuration:
config += data.vsphere_datacenter('dc',
name = "MainDC",
)
config += data.vsphere_resource_pool('pool',
name = "VW_CLUSTER/Resources",
datacenter_id = data.vsphere_datacenter.datacenter.id
)
returning the following error:
datacenter_id = data.vsphere_datacenter.datacenter.id
AttributeError: type object 'vsphere_datacenter' has no attribute 'dc'
just comparing with this:
https://registry.terraform.io/providers/hashicorp/vsphere/latest/docs
Im sure tha't i'm doing this wrong, but where i can check atributtes expecteds by classes?
Thanks for your time.
Regerads