nutanix / terraform-provider-nutanix

Terraform Nutanix Provider
https://www.terraform.io/docs/providers/nutanix/
Mozilla Public License 2.0
95 stars 111 forks source link

Expecting a list but isolating only one entity #621

Open jelopez605 opened 1 year ago

jelopez605 commented 1 year ago

Nutanix Cluster Information

Terraform Version

1.8.1

Affected Resource(s)

The values variable to be used (isolation_rule_second_entity_filter_params) is expecting a list of environments but after it was provided it only isolates the first environments from the main environment.

isolation_rule_second_entity_filter_params {
    name   = var.tag_name // Name of the category to isolate,  Environment
    values = ["stage", "Dev" ] // Value of the selected Category, i.e Staging, Production
}

}


### Debug Output
<!---
Please provide a link to a GitHub Gist containing the complete debug output. Please do NOT paste the debug output in the issue; just paste a link to the Gist.
To obtain the debug output, see the [Terraform documentation on debugging]
No errors but repeats the same isolation policy multiple times. 
(https://www.terraform.io/docs/internals/debugging.html).
--->
### Panic Output
<!--- If Terraform produced a panic, please provide a link to a GitHub Gist containing the output of the `crash.log`. --->
### Expected Behavior
<!--- What should have happened? --->
isolates A from environment B
isolates A from environment C
isolates A from environment D
### Actual Behavior
<!--- What actually happened? --->
isolates A from environment B
isolates A from environment B
isolates A from environment B
### Steps to Reproduce
<!--- Please list the steps required to reproduce the issue. --->
1. `terraform apply`
### Important Factors
<!--- Are there anything atypical about your accounts that we should know?
For example if you are using a Prism Element or Prism Central -- >
​
### References
<!---
Information about referencing Github Issues: https://help.github.com/articles/basic-writing-and-formatting-syntax/#referencing-issues-and-pull-requests
Are there any other GitHub issues (open or closed) or pull requests that should be linked here? Vendor documentation? For example:
--->
* #0000 <!---Github Issue number --->