scalr_var_set
Resource: scalr_var_set
Manages the state of variable sets in Scalr.
Example Usage
resource "scalr_var_set" "example" {
name = "my-var-set-1"
description = "Var set description"
environments = ["env-xxxxxxxxxx", "env-yyyyyyyyyy"]
}
resource "scalr_var_set" "example_shared" {
name = "my-var-set-2"
description = "Var set description"
environments = ["*"]
owners = ["team-xxxxxxxxxx", "team-yyyyyyyyyy"]
}
Schema
Required
name(String) Name of the variable set.
Optional
description(String) Description of the variable set.environments(Set of String) List of environment IDs that this variable set is shared to. Use["*"]to share with all environments.owners(Set of String) List of team IDs this variable set belongs to.
Read-Only
account_id(String) ID of the account this variable set belongs to.id(String) The ID of this resource.updated_at(String) UTC timestamp of the last update to this variable set.updated_by_email(String) Email of the user who last updated this variable set.
Import
Import is supported using the following syntax:
terraform import scalr_var_set.example varset-xxxxxxxxxx
