vcd_vapp

    0

    0

    lucycodes42

    Terraform snippets

    This code defines a resource named "vcd_vapp", defines the following properties: name, description, catalog_name, template_name, memory size, CPUs, network_name, and network_href. Finally, it defines the following metadata: role, env, and version.

    Shortcut: tf_vcd_vapp

    resource "vcd_vapp" "${myResourceName}" {
       name = "my-${myResourceName}"
       description = "my-description-${myResourceName}"
    
       catalog_name  = "Boxes"
       template_name = "lampstack-1.10.1-ubuntu-10.04"
       memory        = 2048
       cpus          = 1
       network_name  = "\${vcd_network.net.name}"
       network_href  = "\${vcd_network.net.href}"
       ip            = "10.10.104.160"
       metadata {
           role    = "web"
           env     = "staging"
           version = "v1"
       }
    }
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    Legal
    • Security
    • Privacy Policy
    • Code Privacy
    • Terms of Service
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.