This PR adds a new resource and data source vcd_org_vdc_template, which allows to manage and read VDC Templates, respectively.
The configuration of a VDC template is similar to a VDC, naturally. The main special peculiarity is the "Binding" concept, which is briefly explained at https://github.com/vmware/go-vcloud-director/pull/686 and put into practice here. In the code, we use a unique Binding ID for each field: External network, Gateway edge cluster and Services edge cluster. Like in UI, on updates they get simply regenerated.
Also, at some points there are special quirks, that are explained with comments, and if they affect the user, also in the documentation.
Tests
[x] New acceptance tests passed in VCD 10.5.1.1
[x] New acceptance tests passed in VCD 10.6.0
[x] Binary tests passed in VCD 10.5.1.1
Related
The resource to instantiate VDC Templates is in PR #1280
Overview
This PR adds a new resource and data source
vcd_org_vdc_template
, which allows to manage and read VDC Templates, respectively.The configuration of a VDC template is similar to a VDC, naturally. The main special peculiarity is the "Binding" concept, which is briefly explained at https://github.com/vmware/go-vcloud-director/pull/686 and put into practice here. In the code, we use a unique Binding ID for each field: External network, Gateway edge cluster and Services edge cluster. Like in UI, on updates they get simply regenerated.
Also, at some points there are special quirks, that are explained with comments, and if they affect the user, also in the documentation.
Tests
Related
The resource to instantiate VDC Templates is in PR #1280