Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vcd_catalog_vapp_template: Add support for copy from other catalog #1329

Open
jpbuecken opened this issue Sep 19, 2024 · 0 comments
Open

vcd_catalog_vapp_template: Add support for copy from other catalog #1329

jpbuecken opened this issue Sep 19, 2024 · 0 comments

Comments

@jpbuecken
Copy link

jpbuecken commented Sep 19, 2024

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

Similar to the existing possibilities like ova upload or capture vapp a vapp template could be created by copy of another catalog.
The vcd_catalog_vapp_template could pick up this feature.
Maybe it could be implemented in terraform stile with refresh feature, not only as one shot:
(

  • if a vapp template with the same name exists in source catalog and target catalog it is "no changes",
  • if the vapp template is missing in the target catalog it is changes,
  • if the source is missing it is error)

New or Affected Resource(s)

  • vcd_catalog_vapp_template

Terraform Configuration (if it applies)

data "vcd_catalog" "cat" {
  org  = "v51"
  name = "cat-v51-nsxt-backed"
}
data "vcd_catalog" "cat2" {
  org  = "v51"
  name = "cat-v51-nsxt-backed2"
}

resource "vcd_catalog_vapp_template" "from-catalog" {
  org        = "v51"
  catalog_id = data.vcd_catalog.cat.id

  name = "source-vApp-name"
  source_catalog_id = data.vcd_catalog.cat2.id
}

If needed, a Screenshot of the catalog copy button of the VCD UI can be provided, to clarify the feature request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant