Open jpbuecken opened 2 months ago
Info, this also occurs if you use the "latest" parameter with the filter feature
filter {
latest = true
}
In that case it makes even less sence that it reports "found 2 vApp Templates" because this key word should make them unique
Assume you have a shared catalog from org "other-org" and a local catalog in one org named "my-org"
Both catalogs have the same name.
In this example, lets name both catalogs "templates".
Assume you have a vapp template with the same name in it. Lets call it test_vapp_template.
Since the name is not unique, we specify the unique catalog_id in vcd_catalog_vapp_template.
Anyway the datasource vcd_catalog_vapp_template aborts with
But we specified a unique catalog_id, so it should not find the vapp template from the other catalog.
Terraform Version
Affected Resource(s)
Please list the resources as a list, for example:
Terraform Configuration Files
Debug Output
We produced a debug log with:
In this log, you can see the last api call does not respect the catalog_id, which is wrong. It only contains the name, and of course this is not unique:
Expected Behavior
The data source should only find the uniq vapp template.
Actual Behavior
See initial description.
Steps to Reproduce
Please list the steps required to reproduce the issue, for example: