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
Copy file name to clipboardExpand all lines: README.md
+8-1Lines changed: 8 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -61,8 +61,10 @@ This module has a few dependencies:
61
61
62
62
63
63
64
+
64
65
## Examples
65
66
67
+
66
68
**IMPORTANT:** Since the `master` branch used in `source` varies based on new modifications, we suggest that you use the release versions [here](https://github.com/clouddrove/terraform-aws-alb/releases).
67
69
68
70
@@ -93,6 +95,9 @@ Here is an example of how you can use this module in your inventory structure:
93
95
94
96
95
97
98
+
99
+
100
+
96
101
## Inputs
97
102
98
103
| Name | Description | Type | Default | Required |
@@ -116,6 +121,7 @@ Here is an example of how you can use this module in your inventory structure:
116
121
| health_check_timeout | The amount of time to wait in seconds before failing a health check request. | number |`10`| no |
117
122
| health_check_unhealthy_threshold | The number of consecutive health check failures required before considering the target unhealthy. | number |`2`| no |
118
123
| http_enabled | A boolean flag to enable/disable HTTP listener. | bool |`true`| no |
124
+
| http_listener_type | The type of routing action. Valid values are forward, redirect, fixed-response, authenticate-cognito and authenticate-oidc. | string |`redirect`| no |
119
125
| http_port | The port on which the load balancer is listening. like 80 or 443. | number |`80`| no |
120
126
| https_enabled | A boolean flag to enable/disable HTTPS listener. | bool |`true`| no |
121
127
| https_port | The port on which the load balancer is listening. like 80 or 443. | number | - | yes |
@@ -135,6 +141,7 @@ Here is an example of how you can use this module in your inventory structure:
135
141
| log_bucket_name | S3 bucket (externally created) for storing load balancer access logs. Required if logging_enabled is true. | string | `` | no |
136
142
| name | Name (e.g. `app` or `cluster`). | string | `` | no |
137
143
| security_groups | A list of security group IDs to assign to the LB. Only valid for Load Balancers of type application. | list |`<list>`| no |
144
+
| status_code | The HTTP redirect code. The redirect is either permanent (HTTP_301) or temporary (HTTP_302). | string |`HTTP_301`| no |
138
145
| subnet_id | The id of the subnet of which to attach to the load balancer. You can specify only one subnet per Availability Zone. | string | `` | no |
139
146
| subnets | A list of subnet IDs to attach to the LB. Subnets cannot be updated for Load Balancers of type network. Changing this value will for load balancers of type network will force a recreation of the resource. | list |`<list>`| no |
@@ -161,8 +168,8 @@ Here is an example of how you can use this module in your inventory structure:
161
168
162
169
163
170
164
-
## Testing
165
171
172
+
## Testing
166
173
In this module testing is performed with [terratest](https://github.com/gruntwork-io/terratest) and it creates a small piece of infrastructure, matches the output like ARN, ID and Tags name etc and destroy infrastructure in your AWS account. This testing is written in GO, so you need a [GO environment](https://golang.org/doc/install) in your system.
167
174
168
175
You need to run the following command in the testing folder:
0 commit comments