FEATURES OPEN SOURCE ABOUT DOCS LOGIN REGISTER

openstack_compute_servergroup_v2

Manages a V2 Server Group resource within OpenStack.

Example Usage

resource "openstack_compute_servergroup_v2" "test-sg" {
  name = "my-sg"
  policies = ["anti-affinity"]
}

Argument Reference

The following arguments are supported:

Policies

Attributes Reference

The following attributes are exported:

Import

Server Groups can be imported using the id, e.g.

$ terraform import openstack_compute_servergroup_v2.test-sg 1bc30ee9-9d5b-4c30-bdd5-7f1e663f5edf

See the source of this document at Terraform.io