-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
64 lines (57 loc) · 1.95 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
/*
* Copyright (c) 2020 Risk Focus 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 "s3_bucket_prefix" {
description = "Rhodium package - prefix of region-specific S3 bucket distro"
type = string
default = "cadmium3-rhodium-distribution"
}
variable "s3_bucket_path" {
description = "Rhodium package - path of s3 bucket"
type = string
default = "rhodium-latest.zip"
}
variable "domain" {
type = string
default = ""
}
variable "enable_apigw_domain" {
default = true
}
variable "environment" {
default = {
"RHODIUM_CONFIG_CORE__SSM_SECRET_NAME" : "rhodium_secret",
"RHODIUM_CONFIG_CORE__PROCESSED_ACTIONS_LIMIT" : "100",
"RHODIUM_CONFIG_API__EXTERNAL_PARAMS" : "aws_ssm",
"RHODIUM_CONFIG_NOTIFICATOR__SLACKBOT__PARAMS__SLACK_BOT_TOKEN" : "",
"RHODIUM_CONFIG_NOTIFICATOR__SLACKBOT__PARAMS__SLACK_CHANNEL" : "",
"RHODIUM_CONFIG_NOTIFICATOR__SLACKBOT__PARAMS__STORAGE" : "",
"RHODIUM_CONFIG_NOTIFICATOR__SLACKBOT__EXTERNAL_PARAMS" : "aws_ssm",
"RHODIUM_CONFIG_CLOUDS_PLUGINS__AWS__PARAMS__ENVIRONMENT_TAG" : "Namespace",
"RHODIUM_CONFIG_CLOUDS_PLUGINS__AWS__PARAMS__SCHEDULE_TAG" : "Schedule",
"RHODIUM_CONFIG_CLOUDS_PLUGINS__AWS__PARAMS__TIER_TAG" : "Tier",
"RHODIUM_CONFIG_STORAGE" : "dynamodb"
}
}
variable "environment_extra" {
default = {}
}
variable "vpc_config" {
type = object({
security_group_ids = list(string)
subnet_ids = list(string)
})
default = null
}