juju_space (Resource)

A resource that represents a Juju space.

Example Usage

resource "juju_model" "development" {
  name = "development"
}

resource "juju_space" "development" {
  model_uuid = juju_model.development.uuid
  name       = "development"
}

Schema

Required

  • model_uuid (String) The UUID of the model where the space belongs.

  • name (String) The name of the space. Changing this value forces replacement.

Read-Only

  • id (String) The identifier of the space resource. Format: <model_uuid>:

Import

Import is supported using the following syntax:

# Spaces can be imported using the format: model_uuid:space_name
$ terraform import juju_space.development a3c2c72a-75f6-43b9-9b2d-d85d5449cb2f:development