-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
43 lines (37 loc) · 1.09 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
variable "app_name" {
description = "application name"
type = string
}
variable "bucket_name" {
description = "name of the bucket to used to upload the custom application"
type = string
}
variable "cdn_logging_bucket_name" {
description = "bucket where the cloudfront logs will be send to"
type = string
}
variable "ssm_name_prefix" {
description = "prefix for the ssm path for each custom application"
type = string
}
variable "tags" {
description = "Map of custom tags for the provisioned resources"
type = map(string)
default = {}
}
variable "aws_account_id" {
description = "aws account id used to build access policy for the cdn to s3"
type = string
}
variable "applications" {
description = "map of custom applications to be setup"
type = map(object({
tags = optional(map(string), {})
application_id = string
additional_ssm_parameters = optional(list(object({
name = string
type = optional(string, "SecureString") # String, StringList or SecureString
value = string
})), [])
}))
}