Data Source: scalr_tag

Retrieves information about a tag.

Example Usage

data "scalr_tag" "example1" {
  id         = "tag-xxxxxxxxxx"
  account_id = "acc-xxxxxxxxxx"
}

data "scalr_tag" "example2" {
  name       = "tag-name"
  account_id = "acc-xxxxxxxxxx"
}

Schema

Optional

  • account_id (String) The ID of the Scalr account, in the format acc-<RANDOM STRING>.
  • id (String) The identifier of the tag in the format tag-<RANDOM STRING>.
  • name (String) The name of the tag.