-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvariables.tf
125 lines (107 loc) · 2.9 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
#
# Copyright (c) 2021-present Sonatype, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
variable "aws_region" {
description = "AWS Region that our deployment is targetting"
type = string
default = "eu-west-2"
}
variable "default_resource_tags" {
description = "List of tags to apply to all resources created in AWS"
type = map(string)
default = {
environment : "production"
purpose : "sonatype-community-cla"
owner : "[email protected]"
sonatype-group : "se"
}
}
# 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 "the_cla_pem" {
description = "See the-cla.pem"
type = string
sensitive = true
}
variable "env_react_app_cla_url" {
description = "See REACT_APP_CLA_URL"
type = string
default = "https://s3.amazonaws.com/sonatype-cla/cla-2.0.txt"
}
variable "env_gh_app_id" {
description = "See GH_APP_ID"
type = string
sensitive = true
}
variable "env_github_client_secret" {
description = "See GITHUB_CLIENT_SECRET"
type = string
sensitive = true
}
variable "env_github_webhook_secret" {
description = "See GH_WEBHOOK_SECRET"
type = string
sensitive = true
}
variable "env_react_app_company_name" {
description = "See REACT_APP_COMPANY_NAME"
type = string
default = "Sonatype Open Source Community"
}
variable "env_react_app_company_website" {
description = "See REACT_APP_COMPANY_WEBSITE"
type = string
default = "https://www.sonatype.com/"
}
variable "env_react_app_cla_app_name" {
description = "See REACT_APP_CLA_APP_NAME"
type = string
default = "Sonatype Open Source Community CLA"
}
variable "env_react_app_cla_version" {
description = "See REACT_APP_CLA_VERSION"
type = string
}
variable "env_react_app_gh_client_id" {
description = "See REACT_APP_GITHUB_CLIENT_ID"
type = string
sensitive = true
}
variable "env_smtp_host" {
description = "See SMTP_HOST"
type = string
}
variable "env_smtp_port" {
description = "See SMTP_PORT"
type = string
}
variable "env_smtp_username" {
description = "See SMTP_USERNAME"
type = string
sensitive = true
}
variable "env_smtp_password" {
description = "See SMTP_PASSWORD"
type = string
sensitive = true
}
variable "env_notify_email" {
description = "See NOTIFY_EMAIL"
type = string
}