Skip to content

Latest commit

 

History

History
59 lines (43 loc) · 1.43 KB

service_account.md

File metadata and controls

59 lines (43 loc) · 1.43 KB
title categorySlug slug parentDocSlug hidden order
scalr_service_account
scalr-terraform-provider
provider_resource_scalr_service_account
provider_resources
false
15

Resource: scalr_service_account

Manages the state of service accounts in Scalr.

Example Usage

resource "scalr_service_account" "example" {
  name        = "sa-name"
  description = "Lorem ipsum"
  status      = "Active"
  account_id  = "acc-xxxxxxxxxx"
}

Schema

Required

  • name (String) Name of the service account.

Optional

  • account_id (String) ID of the account, in the format acc-<RANDOM STRING>.
  • description (String) Description of the service account.
  • owners (Set of String) The teams, the service account belongs to.
  • status (String) The status of the service account. Valid values are Active and Inactive. Defaults to Active.

Read-Only

  • created_by (List of Object) Details of the user that created the service account. (see below for nested schema)
  • email (String) The email of the service account.
  • id (String) The ID of this resource.

Nested Schema for created_by

Read-Only:

  • email (String)
  • full_name (String)
  • username (String)

Import

Import is supported using the following syntax:

terraform import scalr_service_account.example sa-xxxxxxxxxx