scalr_iam_team
Resource: scalr_iam_team
Manages the Scalr IAM teams: performs create, update and destroy actions.
Example Usage
resource "scalr_iam_team" "example" {
name = "dev"
description = "Developers"
account_id = "acc-xxxxxxxxxx"
users = ["user-xxxxxxxxxx", "user-yyyyyyyyyy"]
}
Schema
Required
name
(String) A name of the team.
Optional
account_id
(String) An identifier of the Scalr account, in the formatacc-<RANDOM STRING>
.description
(String) A verbose description of the team.identity_provider_id
(String) An identifier of the login identity provider, in the formatidp-<RANDOM STRING>
. This is required whenaccount_id
is not specified.users
(List of String) A list of the user identifiers to add to the team.
Read-Only
id
(String) The ID of this resource.
Import
Import is supported using the following syntax:
terraform import scalr_iam_team.example team-xxxxxxxxxx
Updated 4 months ago