Skip to content

Commit d453f73

Browse files
authored
Merge pull request #12 from synapsestudios/make-container-name-var-optional
add null default to container name var
2 parents 8d6f967 + c2f5801 commit d453f73

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ You can do this by commenting out the entire module, running a terraform apply,
7272
| <a name="input_host_port"></a> [host\_port](#input\_host\_port) | Port exposed by the host (Do not use if container\_definitions is set) | `number` | `null` | no |
7373
| <a name="input_hostname"></a> [hostname](#input\_hostname) | Hostname to use for listener rule | `string` | n/a | yes |
7474
| <a name="input_listener_arn"></a> [listener\_arn](#input\_listener\_arn) | ALB listener ARN to add listener rule to | `string` | n/a | yes |
75-
| <a name="input_load_balancer_container_name"></a> [load\_balancer\_container\_name](#input\_load\_balancer\_container\_name) | Container name to use for load balancer target group forwarder | `string` | n/a | yes |
75+
| <a name="input_load_balancer_container_name"></a> [load\_balancer\_container\_name](#input\_load\_balancer\_container\_name) | Container name to use for load balancer target group forwarder | `string` | `null` | no |
7676
| <a name="input_service_name"></a> [service\_name](#input\_service\_name) | Service directory in the application git repo | `string` | n/a | yes |
7777
| <a name="input_subnets"></a> [subnets](#input\_subnets) | List of subnet names the service will reside on. | `list(string)` | n/a | yes |
7878
| <a name="input_task_cpu"></a> [task\_cpu](#input\_task\_cpu) | Task CPU | `number` | `1024` | no |

variables.tf

+1
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ variable "task_cpu" {
132132
variable "load_balancer_container_name" {
133133
type = string
134134
description = "Container name to use for load balancer target group forwarder"
135+
default = null
135136
}
136137

137138
variable "assign_public_ip" {

0 commit comments

Comments
 (0)