OpenNebula / terraform-provider-opennebula

Terraform provider for OpenNebula
https://www.terraform.io/docs/providers/opennebula/
Mozilla Public License 2.0
61 stars 54 forks source link

Add `opennebula_marketplace_app` resource and data source #476

Closed frousselet closed 9 months ago

frousselet commented 12 months ago

Description

Along side of opennebula_marketplace resource and data source (#414), we should add an opennebula_marketplace_app resource and data source to create apps within the created marketplace.

We might be able to retrieve data source by name or id.

New or affected resources and data sources

opennebula_marketplace

Potential terraform configuration

resource "opennebula_marketplace_app" "my_app" {
  name = "My App"
  description = "This is my amazing app !"
  version = "0.2"
  image = opennebula_image.my_image.id
  marketplace = opennebula_marketplace.my_marketplace.id
  vm_template = "..."
  app_template = "..."
}

References

414

treywelsh commented 11 months ago

List of attributes: https://docs.opennebula.io/6.6/marketplace/appliances/marketapps.html#marketplace-appliance-attributes