juju_jaas_access_controller (Resource)

A resource that represents direct access the JAAS controller.

Example Usage

resource "juju_jaas_access_controller" "development" {
  access           = "administrator"
  users            = ["[email protected]"]
  groups           = [juju_jaas_group.development.uuid]
  service_accounts = ["Client-ID-1", "Client-ID-2"]
}

Schema

Required

Optional

  • groups (Set of String) List of groups to grant access. A valid group ID is the group’s UUID.

  • roles (Set of String) List of roles UUIDs to grant access.

  • service_accounts (Set of String) List of service accounts to grant access. A valid service account is the service account’s name.

  • users (Set of String) List of users to grant access. A valid user is the user’s name or email.

Read-Only

  • id (String) The ID of this resource.

Import

Import is supported using the following syntax:

# JAAS controller access can be imported using the fixed JAAS controller name and access level
# I.e. in this case jimm is the only valid controller name.
$ terraform import juju_jaas_access_cloud.development jimm:administrator