foreman_user

User can be used to allow access to foreman.

Example Usage

# Autogenerated example with required keys
resource "foreman_user" "example" {
}

Argument Reference

The following arguments are supported:

  • admin - (Optional) If the user is allow admin privileges
  • auth_source_id - (Optional) Set the authentication source, i.e internal (1,default) or external (2)
  • default_location_id - (Optional) Default location for the user, if empty takes global default
  • default_organization_id - (Optional) Default organization for the user, if empty takes global default
  • description - (Optional) Description of user
  • firstname - (Optional) First name of the user
  • lastname - (Optional) Last name of user
  • locale - (Optional) Sets the timezone/location of a user
  • location_ids - (Optional) List of all locations a user has access to
  • login - (Required) Username used for logging-in
  • mail - (Optional) Email of user
  • organization_ids - (Optional) List of all organizations a user has access to
  • password - (Optional) Password of user, required if auth_source_id is 1 (internal)

Attributes Reference

The following attributes are exported:

  • admin - If the user is allow admin privileges
  • auth_source_id - Set the authentication source, i.e internal (1,default) or external (2)
  • default_location_id - Default location for the user, if empty takes global default
  • default_organization_id - Default organization for the user, if empty takes global default
  • description - Description of user
  • firstname - First name of the user
  • lastname - Last name of user
  • locale - Sets the timezone/location of a user
  • location_ids - List of all locations a user has access to
  • login - Username used for logging-in
  • mail - Email of user
  • organization_ids - List of all organizations a user has access to
  • password - Password of user, required if auth_source_id is 1 (internal)