openstack_compute_servergroup_v2

    0

    0

    lucycodes42

    Terraform snippets

    The code defines a resource called "myResourceName" and defines two policies: "anti-affinity" and "default". The policies define how the compute server group should be used. For example, "anti-affinity" means that the compute server group should not be used to affinity-group instances.

    Shortcut: tf_openstack_compute_servergroup_v2

    resource "openstack_compute_servergroup_v2" "${myResourceName}" {
       name = "my-${myResourceName}"
       description = "my-description-${myResourceName}"
    
       policies = ["anti-affinity"]
    }
    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.