openstack_containerinfra_cluster_v1

Manages a V1 Magnum cluster resource within OpenStack.

Example Usage

Create a Cluster

resource "openstack_containerinfra_cluster_v1" "cluster_1" {
  name                = "cluster_1"
  cluster_template_id = "b9a45c5c-cd03-4958-82aa-b80bf93cb922"
  master_count        = 3
  node_count          = 5
  keypair             = "ssh_keypair"
}

Argument reference

The following arguments are supported:

Attributes reference

The following attributes are exported:

Import

Clusters can be imported using the id, e.g.

$ terraform import openstack_containerinfra_cluster_v1.cluster_1 ce0f9463-dd25-474b-9fe8-94de63e5e42b