juju_space (Data Source)

A data source representing a Juju space.

Example Usage

data "juju_model" "my_model" {
  name = "default"
}

data "juju_space" "my_space_data_source" {
  model_uuid = data.juju_model.my_model.uuid
  name       = "my-space"
}

Schema

Required

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

  • name (String) The name of the space.

Read-Only

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