-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OPS-3938 Specify variables types explicitly (#6)
* OPS-3938 Specify variables types explicitly * OPS-3938 Fix README * OPS-3938 Fix type for ssl certificate list
- Loading branch information
Showing
2 changed files
with
16 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,63 @@ | ||
variable "name" { | ||
type = string | ||
description = "The name used to interpolate into the resources created" | ||
} | ||
variable "cidr" { | ||
type = string | ||
default = "172.30.0.0/16" | ||
description = "The cidr used for the network" | ||
} | ||
|
||
variable "tags" { | ||
type = map(string) | ||
default = {} | ||
description = "Extra tags to be applied to the resources" | ||
} | ||
|
||
variable "https_enabled" { | ||
type = bool | ||
default = false | ||
description = "Do we enable https" | ||
} | ||
|
||
variable "certificate_arn" { | ||
type = string | ||
default = "" | ||
description = "The arn of the certificate" | ||
} | ||
|
||
variable "extra_ssl_certs" { | ||
type = list(string) | ||
default = [] | ||
description = "The extra ssl certifice arns applied to the SSL Listener" | ||
} | ||
|
||
variable "extra_ssl_certs_count" { | ||
type = number | ||
default = 0 | ||
description = "The count of the extra_ssl_certs" | ||
} | ||
|
||
variable "redirect_rules" { | ||
type = list(map(string)) | ||
default = [] | ||
description = "A list with maps populated with redirect rules" | ||
} | ||
|
||
variable "lb_ip_address_type" { | ||
type = string | ||
default = "ipv4" | ||
description = "The `ip_address_type` of the LB, either 'ipv4' or 'dualstack' in case ipv6 needs to be supported as well" | ||
} | ||
|
||
variable "response_message_body" { | ||
type = string | ||
default = "No match" | ||
description = "The default response message body in case no rules have been met" | ||
} | ||
|
||
variable "response_code" { | ||
type = string | ||
default = "500" | ||
description = "The default status code to return when no rules have been met" | ||
} |