-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathvariables.tf
47 lines (39 loc) · 1.46 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
# Sets the default AWS region
variable "aws_region" {
description = "The AWS region where this infrastructure will be deployed."
type = string
default = "us-east-1"
}
# The following variables are used for consistent naming of repositories and workspaces
# as well as for consistent locations for sensitive values store in SSM.
# Values for these are set in Terraform Cloud workspaces by the mitlib-tfc-mgmt
# repository.
variable "mitlib" {
description = "The shortname name of our MITLibraries Organization"
type = string
default = "mitlib"
}
variable "ou" {
description = "The name of the AWS OU that contains the AWS Accounts that are managed by this code."
type = string
}
variable "name" {
description = "The name of the app/resource this code builds"
type = string
}
variable "environment" {
description = "The name of the environment/stage/workspace (e.g., `stage`, `prod`, `dev`)"
type = string
}
variable "tfoutput_ssm_path" {
description = "Standard prefix in Parameter Store for generic Terraform outputs (typically needed by other infra code)"
type = string
}
variable "appinput_ssm_path" {
description = "Standard prefix in Parameter Store for Terraform outputs specifically needed by <app-name>"
type = string
}
variable "tfinput_ssm_path" {
description = "Standard prefix in Parameter Store for inputs to Terraform for initial infrastructure builds"
type = string
}