scalr_tag
Data Source scalr_tag
scalr_tag
Retrieves information about a tag.
Example Usage
data "scalr_tag" "example" {
id = "tag-xxxxxxx"
account_id = "acc-xxxxxxx"
}
data "scalr_tag" "example" {
name = "tag-name"
account_id = "acc-xxxxxxx"
}
Arguments
id
- (Optional) The identifier of the tag in the formattag-<RANDOM STRING>
.name
- (Optional) The name of the tag.account_id
- (Optional) The ID of the Scalr account, in the formatacc-<RANDOM STRING>
.
Arguments id
and name
are both optional, specify at least one of them to obtain scalr_tag
.
Attributes
Attributes are the same as arguments.
Updated about 1 month ago