You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| <aname="input_aws_account_id"></a> [aws\_account\_id](#input\_aws\_account\_id)| The AWS Account ID (numeric) |`string`| n/a | yes |
13
13
| <aname="input_ca_pem_filename"></a> [ca\_pem\_filename](#input\_ca\_pem\_filename)| Filename for the CA truststore file within the s3 bucket |`string`|`null`| no |
14
+
| <aname="input_commit_id"></a> [commit\_id](#input\_commit\_id)| The commit to deploy. Must be in the tree for branch\_name |`string`|`"HEAD"`| no |
14
15
| <aname="input_component"></a> [component](#input\_component)| The variable encapsulating the name of this component |`string`|`"supapi"`| no |
15
16
| <aname="input_default_tags"></a> [default\_tags](#input\_default\_tags)| A map of default tags to apply to all taggable resources within the component |`map(string)`|`{}`| no |
16
17
| <aname="input_enable_backups"></a> [enable\_backups](#input\_enable\_backups)| Enable backups |`bool`|`false`| no |
Copy file name to clipboardExpand all lines: infrastructure/terraform/components/api/variables.tf
+45-39Lines changed: 45 additions & 39 deletions
Original file line number
Diff line number
Diff line change
@@ -51,64 +51,40 @@ variable "default_tags" {
51
51
# Variables specific to the component
52
52
##
53
53
54
-
variable"kms_deletion_window" {
54
+
variable"ca_pem_filename" {
55
55
type=string
56
-
description="When a kms key is deleted, how long should it wait in the pending deletion state?"
57
-
default="30"
58
-
}
59
-
60
-
variable"log_retention_in_days" {
61
-
type=number
62
-
description="The retention period in days for the Cloudwatch Logs events to be retained, default of 0 is indefinite"
63
-
default=0
56
+
description="Filename for the CA truststore file within the s3 bucket"
57
+
default=null
64
58
}
65
59
66
-
variable"log_level" {
60
+
variable"commit_id" {
67
61
type=string
68
-
description="The log level to be used in lambda functions within the component. Any log with a lower severity than the configured value will not be logged: https://docs.python.org/3/library/logging.html#levels"
69
-
default="INFO"
62
+
description="The commit to deploy. Must be in the tree for branch_name"
63
+
default="HEAD"
70
64
}
71
65
72
-
variable"force_lambda_code_deploy" {
66
+
variable"enable_backups" {
73
67
type=bool
74
-
description="If the lambda package in s3 has the same commit id tag as the terraform build branch, the lambda will not update automatically. Set to True if making changes to Lambda code from on the same commit for example during development"
68
+
description="Enable backups"
75
69
default=false
76
70
}
77
71
78
-
variable"parent_acct_environment" {
79
-
type=string
80
-
description="Name of the environment responsible for the acct resources used, affects things like DNS zone. Useful for named dev environments"
81
-
default="main"
82
-
}
83
-
84
-
variable"shared_infra_account_id" {
85
-
type=string
86
-
description="The AWS Account ID of the shared infrastructure account"
87
-
default="000000000000"
88
-
}
89
-
90
-
variable"manually_configure_mtls_truststore" {
72
+
variable"force_destroy" {
91
73
type=bool
92
-
description="Manually manage the truststore used for API Gateway mTLS (e.g. for prod environment)"
74
+
description="Flag to force deletion of S3 buckets"
93
75
default=false
94
76
}
95
77
96
-
variable"enable_backups" {
78
+
variable"force_lambda_code_deploy" {
97
79
type=bool
98
-
description="Enable backups"
80
+
description="If the lambda package in s3 has the same commit id tag as the terraform build branch, the lambda will not update automatically. Set to True if making changes to Lambda code from on the same commit for example during development"
99
81
default=false
100
82
}
101
83
102
-
variable"ca_pem_filename" {
84
+
variable"kms_deletion_window" {
103
85
type=string
104
-
description="Filename for the CA truststore file within the s3 bucket"
105
-
default=null
106
-
}
107
-
108
-
variable"force_destroy" {
109
-
type=bool
110
-
description="Flag to force deletion of S3 buckets"
111
-
default=false
86
+
description="When a kms key is deleted, how long should it wait in the pending deletion state?"
description="The log level to be used in lambda functions within the component. Any log with a lower severity than the configured value will not be logged: https://docs.python.org/3/library/logging.html#levels"
99
+
default="INFO"
100
+
}
101
+
102
+
variable"log_retention_in_days" {
103
+
type=number
104
+
description="The retention period in days for the Cloudwatch Logs events to be retained, default of 0 is indefinite"
105
+
default=0
106
+
}
107
+
108
+
variable"manually_configure_mtls_truststore" {
109
+
type=bool
110
+
description="Manually manage the truststore used for API Gateway mTLS (e.g. for prod environment)"
111
+
default=false
112
+
}
113
+
120
114
variable"max_get_limit" {
121
115
type=number
122
116
description="Default limit to apply to GET requests that support pagination"
123
117
default=2500
124
118
}
119
+
120
+
variable"parent_acct_environment" {
121
+
type=string
122
+
description="Name of the environment responsible for the acct resources used, affects things like DNS zone. Useful for named dev environments"
123
+
default="main"
124
+
}
125
+
126
+
variable"shared_infra_account_id" {
127
+
type=string
128
+
description="The AWS Account ID of the shared infrastructure account"
0 commit comments