-
Notifications
You must be signed in to change notification settings - Fork 8
/
variables.tf
71 lines (60 loc) · 1.96 KB
/
variables.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
variable "tf_hostname" {
type = string
default = "app.terraform.io"
description = "The hostname of a Terraform Cloud/Enterprise installation. Defaults to Terraform Cloud."
}
variable "tf_token" {
type = string
sensitive = true
description = "The token to authorise requests to a Terraform Cloud/Enterprise installation."
}
variable "tf_organization" {
type = string
description = "The Terraform Cloud/Enterprise to migrate into Scalr."
}
variable "workspaces" {
type = list(string)
default = ["*"]
description = "List of workspace that should be migrated into Scalr. By default all ones are migrated."
}
variable "scalr_hostname" {
type = string
description = "The hostname of a Scalr installation."
}
variable "scalr_token" {
type = string
sensitive = true
description = "The token to authorise requests to a Scalr installation."
}
variable "scalr_account_id" {
type = string
description = "The Scalr account identifier to migrate TFC/E data into"
}
variable "scalr_vcs_provider_id" {
type = string
description = "The Scalr VCS provider identifier to associate workspaces with."
}
variable "scalr_environment" {
type = string
default = ""
description = <<EOF
The name of a Scalr environment. By default, it takes the TFC/E organization to name a Scalr environment after.
But users could set a custom environment name, e.g. if they manage everything in a single organization,
but want to re-structure their workspaces.
EOF
}
variable "lock_tf_workspace" {
type = bool
default = true
description = "Whether to lock TFC/E workspaces from the runs execution in order to avoid the state conflicts."
}
variable "skip_workspace_creation" {
type = bool
default = false
description = "Whether to create new workspaces in Scalr. Set to True if workspace is already created in Scalr."
}
variable "skip_backend_secrets" {
type = bool
default = false
description = "Whether to create shell variables (`SCALR_` and `TFC_`) in Scalr."
}