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 format acc-<RANDOM STRING>.
  • description (String) A verbose description of the team.
  • identity_provider_id (String) An identifier of the login identity provider, in the format idp-<RANDOM STRING>. This is required when account_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