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) ID of the account, in the format acc-<RANDOM STRING>.
  • description (String) A verbose description of the team.
  • identity_provider_id (String, Deprecated) An identifier of the login identity provider, in the format idp-<RANDOM STRING>.
  • users (Set of String) A list of the user identifiers to add to the team. This attribute should not be used when the account's identity provider is not of type scalr, as team membership is managed externally in these cases.

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