diff --git a/README.md b/README.md index 15a2fd5..18ae1aa 100644 --- a/README.md +++ b/README.md @@ -257,7 +257,7 @@ Available targets: | [listener\_additional\_tags](#input\_listener\_additional\_tags) | The additional tags to apply to all listeners | `map(string)` | `{}` | no | | [listener\_http\_fixed\_response](#input\_listener\_http\_fixed\_response) | Have the HTTP listener return a fixed response for the default action. |
object({| `null` | no | | [listener\_https\_fixed\_response](#input\_listener\_https\_fixed\_response) | Have the HTTPS listener return a fixed response for the default action. |
content_type = string
message_body = string
status_code = string
})
object({| `null` | no | -| [listener\_https\_redirect](#input\_listener\_https\_redirect) | Have the HTTPS listener return a redirect response for the default action. |
content_type = string
message_body = string
status_code = string
})
object({|
host = optional(string)
path = optional(string)
port = optional(string)
protocol = optional(string)
query = optional(string)
status_code = string
})
{| no | +| [listener\_https\_redirect](#input\_listener\_https\_redirect) | Have the HTTPS listener return a redirect response for the default action. |
"host": null,
"path": null,
"port": null,
"protocol": null,
"query": null,
"status_code": "HTTP_301"
}
object({| `null` | no | | [load\_balancer\_name](#input\_load\_balancer\_name) | The name for the default load balancer, uses a module label name if left empty | `string` | `""` | no | | [load\_balancer\_name\_max\_length](#input\_load\_balancer\_name\_max\_length) | The max length of characters for the load balancer. | `number` | `32` | no | | [load\_balancing\_algorithm\_type](#input\_load\_balancing\_algorithm\_type) | Determines how the load balancer selects targets when routing requests. Only applicable for Application Load Balancer Target Groups | `string` | `"round_robin"` | no | diff --git a/docs/terraform.md b/docs/terraform.md index 86fd68a..3e8b1d1 100644 --- a/docs/terraform.md +++ b/docs/terraform.md @@ -95,7 +95,7 @@ | [listener\_additional\_tags](#input\_listener\_additional\_tags) | The additional tags to apply to all listeners | `map(string)` | `{}` | no | | [listener\_http\_fixed\_response](#input\_listener\_http\_fixed\_response) | Have the HTTP listener return a fixed response for the default action. |
host = optional(string)
path = optional(string)
port = optional(string)
protocol = optional(string)
query = optional(string)
status_code = string
})
object({| `null` | no | | [listener\_https\_fixed\_response](#input\_listener\_https\_fixed\_response) | Have the HTTPS listener return a fixed response for the default action. |
content_type = string
message_body = string
status_code = string
})
object({| `null` | no | -| [listener\_https\_redirect](#input\_listener\_https\_redirect) | Have the HTTPS listener return a redirect response for the default action. |
content_type = string
message_body = string
status_code = string
})
object({|
host = optional(string)
path = optional(string)
port = optional(string)
protocol = optional(string)
query = optional(string)
status_code = string
})
{| no | +| [listener\_https\_redirect](#input\_listener\_https\_redirect) | Have the HTTPS listener return a redirect response for the default action. |
"host": null,
"path": null,
"port": null,
"protocol": null,
"query": null,
"status_code": "HTTP_301"
}
object({| `null` | no | | [load\_balancer\_name](#input\_load\_balancer\_name) | The name for the default load balancer, uses a module label name if left empty | `string` | `""` | no | | [load\_balancer\_name\_max\_length](#input\_load\_balancer\_name\_max\_length) | The max length of characters for the load balancer. | `number` | `32` | no | | [load\_balancing\_algorithm\_type](#input\_load\_balancing\_algorithm\_type) | Determines how the load balancer selects targets when routing requests. Only applicable for Application Load Balancer Target Groups | `string` | `"round_robin"` | no | diff --git a/variables.tf b/variables.tf index 3980dec..29c7321 100644 --- a/variables.tf +++ b/variables.tf @@ -300,14 +300,7 @@ variable "listener_https_redirect" { query = optional(string) status_code = string }) - default = { - host = null - path = null - port = null - protocol = null - query = null - status_code = "HTTP_301" - } + default = null } variable "lifecycle_configuration_rules" {
host = optional(string)
path = optional(string)
port = optional(string)
protocol = optional(string)
query = optional(string)
status_code = string
})