<a id="manage-units"></a>

# Manage units

> See also: [Juju | Unit](https://canonical.com/juju/docs/juju-cli/latest/reference/unit/#unit)

<a id="control-the-number-of-units"></a>

## Control the number of units

To control the number of units of an application, in its resource definition specify a `units` attribute. For example, below we set it to 3.

```terraform
resource "juju_application" "this" {
  model_uuid = juju_model.development.uuid

  charm {
    name = "hello-kubecon"
  }

  units = 3
}
```

> See more: [`juju_application` (resource)](https://documentation.ubuntu.com/terraform-provider-juju/latest/reference/terraform-provider/resources/application.md)
