# juju_space (Resource)

A resource that represents a Juju space.

## Example Usage

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

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

<!-- schema generated by tfplugindocs -->

## 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>:<name>

## Import

Import is supported using the following syntax:

The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can be used, for example:

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