generated from scaffoldly/terraform-scaffoldly-module-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvariables.tf
76 lines (76 loc) · 2.02 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
variable "domain" {
type = string
description = "The domain for the Serverless API"
default = ""
}
variable "repository_name" {
type = string
description = "The GitHub Repository Name"
}
variable "path" {
type = string
description = "The name of the Serverless API"
default = ""
}
variable "stage" {
type = string
description = "The stage (e.g. live, nonlive)"
}
variable "regional" {
type = bool
description = "If true, create a regional Serverless API"
default = false
}
variable "websocket" {
type = bool
description = "(Optional) Enable a websocket for this stage"
default = false
}
variable "websocket_domain" {
type = string
description = "(Optional) The custom domain for the websocket (if using a custom domain)"
default = ""
}
variable "root_principal" {
type = string
default = "root"
description = "The root prinicipal. In most cases leave this as 'root'"
}
variable "stage_kms_key_id" {
type = string
default = ""
description = "The KMS Key ID for the stage (optional)"
}
variable "create_bucket" {
type = bool
default = true
description = "Create an S3 Bucket for the Service"
}
variable "bucket_allow_public_access" {
type = bool
default = false
description = "Allow Objects in the bucket with a Public ACL"
}
variable "bucket_name" {
type = string
default = ""
description = "Set the bucket name, default: var.repository_name"
}
variable "create_topic" {
type = bool
default = true
description = "Create SNS Topics for the service"
}
variable "saml_trust" {
type = object({
trust_actions = list(string)
trust_principal_identifiers = list(string)
trust_principal_type = string
trust_condition_saml_test = string
trust_condition_saml_variable = string
trust_condition_saml_values = list(string)
}
)
description = "Output of trust from saml-to/iam/aws module"
default = null
}