terraform-provider-vra7
terraform-provider-vra7 copied to clipboard
Output issue with resource_configuration
vRA 7.5 version The vRA 7.5 version where is issue is found. Terraform version 0.12.24 **terraform-provider-vra7 plugin version 1.0.1
Describe the bug When it try to output my result, i'm not able to acces
To Reproduce Steps to reproduce the behavior:
- Terraform config file
resource "vra7_deployment" "windows" {
count = 1
...
resource_configuration {
component_name = "server1"
configuration = {
hostname = "ServerName"
...
}
....
}
output "machine-names" {
value = ["${vra7_deployment.windows[*].resource_configuration.server1.hostname}"]
}
- Terraform command
terraform apply
- Error `Error: Unsupported attribute
on main.tf line 125, in output "machine-names": 125: value = ["${vra7_deployment.windows[*].resource_configuration.server1.hostname}"]
This value does not have any attributes.` (server1 is underlined)
Expected behavior It should output the hostname