-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
34 lines (31 loc) · 957 Bytes
/
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
variable "aws_region" {
description = "AWS Region that our deployment is targetting"
type = string
default = "us-east-2"
}
variable "default_resource_tags" {
description = "List of tags to apply to all resources created in AWS"
type = map(string)
default = {
environment : "development"
purpose : "vendorcorp"
owner : "[email protected]"
sonatype-group : "se"
vendorcorp-purpose : "tools"
}
}
# See https://docs.sonatype.com/display/OPS/Shared+Infrastructure+Initiative
variable "environment" {
description = "Used as part of Sonatype's Shared AWS Infrastructure"
type = string
default = "production"
}
variable "pgsql_password" {
description = "Password for the main account in PostgreSQL Cluster"
type = string
sensitive = true
validation {
condition = length(var.pgsql_password) > 0
error_message = "Root PostgreSQL password must be supplied."
}
}