# juju_access_model (Resource)

A resource that represent a Juju Access Model.

## Example Usage

```terraform
resource "juju_access_model" "this" {
  model_uuid = juju_model.dev.uuid
  access     = "write"
  users      = [juju_user.dev.name, juju_user.qa.name]
}
```

<!-- schema generated by tfplugindocs -->

## Schema

### Required

- `access` (String) Type of access to the model
- `model_uuid` (String) The uuid of the model for access management
- `users` (Set of String) Set of users to grant access to

### Read-Only

- `id` (String) The ID of this resource.

## 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
# Access Models can be imported using the model name,
# access and comma separated list of users
$ terraform import juju_access_model.development development:read:user-one,user-two
```
