Skip to content

Latest commit

 

History

History
48 lines (34 loc) · 1001 Bytes

File metadata and controls

48 lines (34 loc) · 1001 Bytes
page_title subcategory description
maas_user Resource - terraform-provider-maas
Provides a resource to manage MAAS users.

maas_user (Resource)

Provides a resource to manage MAAS users.

Example Usage

resource "maas_user" "cloudbase" {
  name     = "cloudbase"
  password = "Passw0rd123"
  email    = "admin@cloudbase.local"
  is_admin = true
}

Schema

Required

  • email (String) The user e-mail address.
  • name (String) The user name.
  • password (String, Sensitive) The user password.

Optional

  • is_admin (Boolean) Boolean value indicating if the user is a MAAS administrator. Defaults to false.

Read-Only

  • id (String) The ID of this resource.

Import

Import is supported using the following syntax:

# Users can be imported using their name. e.g.
$ terraform import maas_user.cloudbase cloudbase