Terraform snippets

    The cloudstack_vpc resource defines a virtual private cloud (VPC) named my-${myResourceName} . The zone field specifies the VPC zone in which the VPC resides. The cidr field sets the IP address range for the virtual private cloud. The vpc_offering field specifies the default VPC offering.

    Shortcut: tf_cloudstack_vpc

    resource "cloudstack_vpc" "${myResourceName}" {
       name = "my-${myResourceName}"
       cidr = ""
       vpc_offering = "Default VPC Offering"
       zone = "zone-1"
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Explore
    • Cookbooks
    • Playground
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.