scalr_service_account
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 formatacc-<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 areActive
andInactive
. Defaults toActive
.
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
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
Updated about 2 months ago