resource "openstack_compute_servergroup_v2" "${myResourceName}" {
         name = "my-${myResourceName}"
         description = "my-description-${myResourceName}"
         policies = ["anti-affinity"]

      Terraform language logo

      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


        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.