-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
81 lines (68 loc) · 1.81 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
72
73
74
75
76
77
78
79
80
81
variable "project_name" {
description = "Name of the project."
type = string
default = "MyAWS"
}
variable "domain_name" {
description = "Base name of domain"
type = string
default = "ksalnykov.com"
}
variable "aws_region" {
description = "AWS region."
type = string
default = "eu-central-1"
}
variable "aws_profile_name" {
description = "Name of profile for AWS."
type = string
default = "default"
}
variable "env" {
description = "Name of environment, one of: `dev`, `test`, `prod`."
type = string
default = "dev"
validation {
condition = contains(["dev", "test", "prod"], var.env)
error_message = "The `env` variable should be one of: `dev`, `test`, `prod`."
}
}
variable "github_access_token" {
description = "GitHub access token for repo. Used by AWS Amplify."
type = string
}
variable "frontend_repository_url" {
description = "GitHub repository URL for Front-end app."
type = string
default = "https://github.com/Kostiantyn-Salnykov/VueApp"
}
variable "POSTGRES_DB" {
description = "Database name for PostgreSQL."
type = string
}
variable "POSTGRES_USERNAME" {
description = "Username for PostgreSQL."
type = string
}
variable "POSTGRES_PASSWORD" {
description = "Password for PostgreSQL."
type = string
}
variable "POSTGRES_ENGINE_VERSION" {
description = "Version for PostgreSQL engine."
type = string
default = "15.3"
}
variable "POSTGRES_PORT" {
description = "Port for PostgreSQL."
type = string
default = 5432
}
variable "GOOGLE_CLIENT_ID" {
description = "OpenID Connect Google client ID."
type = string
}
variable "GOOGLE_CLIENT_SECRET" {
description = "OpenID Connect Google client secret."
type = string
}