|
2 | 2 |
|
3 | 3 | | Name | Description | Type | Default | Required |
|
4 | 4 | |------|-------------|:----:|:-----:|:-----:|
|
5 |
| -| attributes | Additional attributes, e.g. `1` | list | `<list>` | no | |
6 |
| -| authenticated_hosts | Authenticated hosts to match in Hosts header | list | `<list>` | no | |
7 |
| -| authenticated_listener_arns | A list of authenticated ALB listener ARNs to attach ALB listener rules to | list | `<list>` | no | |
8 |
| -| authenticated_listener_arns_count | The number of authenticated ARNs in `authenticated_listener_arns`. This is necessary to work around a limitation in Terraform where counts cannot be computed | string | `0` | no | |
9 |
| -| authenticated_paths | Authenticated path pattern to match (a maximum of 1 can be defined) | list | `<list>` | no | |
10 |
| -| authenticated_priority | The priority for the rules with authentication, between 1 and 50000 (1 being highest priority). Must be different from `unauthenticated_priority` since a listener can't have multiple rules with the same priority | string | `300` | no | |
| 5 | +| attributes | Additional attributes (_e.g._ "1") | list(string) | `<list>` | no | |
| 6 | +| authenticated_hosts | Authenticated hosts to match in Hosts header | list(string) | `<list>` | no | |
| 7 | +| authenticated_listener_arns | A list of authenticated ALB listener ARNs to attach ALB listener rules to | list(string) | `<list>` | no | |
| 8 | +| authenticated_listener_arns_count | The number of authenticated ARNs in `authenticated_listener_arns`. This is necessary to work around a limitation in Terraform where counts cannot be computed | number | `0` | no | |
| 9 | +| authenticated_paths | Authenticated path pattern to match (a maximum of 1 can be defined) | list(string) | `<list>` | no | |
| 10 | +| authenticated_priority | The priority for the rules with authentication, between 1 and 50000 (1 being highest priority). Must be different from `unauthenticated_priority` since a listener can't have multiple rules with the same priority | number | `300` | no | |
11 | 11 | | authentication_cognito_user_pool_arn | Cognito User Pool ARN | string | `` | no |
|
12 | 12 | | authentication_cognito_user_pool_client_id | Cognito User Pool Client ID | string | `` | no |
|
13 | 13 | | authentication_cognito_user_pool_domain | Cognito User Pool Domain. The User Pool Domain should be set to the domain prefix (`xxx`) instead of full domain (https://xxx.auth.us-west-2.amazoncognito.com) | string | `` | no |
|
|
18 | 18 | | authentication_oidc_token_endpoint | OIDC Token Endpoint | string | `` | no |
|
19 | 19 | | authentication_oidc_user_info_endpoint | OIDC User Info Endpoint | string | `` | no |
|
20 | 20 | | authentication_type | Authentication type. Supported values are `COGNITO` and `OIDC` | string | `` | no |
|
21 |
| -| delimiter | Delimiter to be used between `namespace`, `name`, `stage` and `attributes` | string | `-` | no | |
22 |
| -| deregistration_delay | The amount of time to wait in seconds while deregistering target | string | `15` | no | |
23 |
| -| health_check_enabled | Indicates whether health checks are enabled. Defaults to `true`. | string | `true` | no | |
24 |
| -| health_check_healthy_threshold | The number of consecutive health checks successes required before healthy | string | `2` | no | |
25 |
| -| health_check_interval | The duration in seconds in between health checks | string | `15` | no | |
| 21 | +| default_target_group_enabled | Enable/disable creation of the default target group | bool | `true` | no | |
| 22 | +| delimiter | Delimiter between `namespace`, `stage`, `name` and `attributes` | string | `-` | no | |
| 23 | +| deregistration_delay | The amount of time to wait in seconds while deregistering target | number | `15` | no | |
| 24 | +| health_check_enabled | Indicates whether health checks are enabled. Defaults to `true` | bool | `true` | no | |
| 25 | +| health_check_healthy_threshold | The number of consecutive health checks successes required before healthy | number | `2` | no | |
| 26 | +| health_check_interval | The duration in seconds in between health checks | number | `15` | no | |
26 | 27 | | health_check_matcher | The HTTP response codes to indicate a healthy check | string | `200-399` | no |
|
27 | 28 | | health_check_path | The destination for the health check request | string | `/` | no |
|
28 |
| -| health_check_port | The port to use to connect with the target. Valid values are either ports 1-65536, or `traffic-port`. Defaults to `traffic-port`. | string | `traffic-port` | no | |
29 |
| -| health_check_protocol | The protocol to use to connect with the target. Defaults to `HTTP`. Not applicable when `target_type` is `lambda`. | string | `HTTP` | no | |
30 |
| -| health_check_timeout | The amount of time to wait in seconds before failing a health check request | string | `10` | no | |
31 |
| -| health_check_unhealthy_threshold | The number of consecutive health check failures required before unhealthy | string | `2` | no | |
32 |
| -| name | Solution name, e.g. `app` | string | - | yes | |
33 |
| -| namespace | Namespace, which could be your organization name, e.g. `cp` or `cloudposse` | string | - | yes | |
34 |
| -| port | The port for generated ALB target group (if `target_group_arn` not set) | string | `80` | no | |
35 |
| -| protocol | The protocol for generated ALB target group (if `target_group_arn` not set) | string | `HTTP` | no | |
36 |
| -| slow_start | The amount time for targets to warm up before the load balancer sends them a full share of requests. The range is 30-900 seconds or 0 to disable. The default value is `0` seconds. | string | `0` | no | |
37 |
| -| stage | Stage, e.g. `prod`, `staging`, `dev`, or `test` | string | - | yes | |
38 |
| -| stickiness_cookie_duration | The time period, in seconds, during which requests from a client should be routed to the same target. After this time period expires, the load balancer-generated cookie is considered stale. The range is 1 second to 1 week (604800 seconds). The default value is 1 day (86400 seconds). | string | `86400` | no | |
39 |
| -| stickiness_enabled | Boolean to enable / disable `stickiness`. Default is `true` | string | `true` | no | |
40 |
| -| stickiness_type | The type of sticky sessions. The only current possible value is `lb_cookie`. | string | `lb_cookie` | no | |
41 |
| -| tags | Additional tags (e.g. `map(`BusinessUnit`,`XYZ`) | map | `<map>` | no | |
42 |
| -| target_group_arn | ALB target group ARN. If this is an empty string, a new one will be generated | string | `` | no | |
43 |
| -| target_type | - | string | `ip` | no | |
44 |
| -| unauthenticated_hosts | Unauthenticated hosts to match in Hosts header | list | `<list>` | no | |
45 |
| -| unauthenticated_listener_arns | A list of unauthenticated ALB listener ARNs to attach ALB listener rules to | list | `<list>` | no | |
46 |
| -| unauthenticated_listener_arns_count | The number of unauthenticated ARNs in `unauthenticated_listener_arns`. This is necessary to work around a limitation in Terraform where counts cannot be computed | string | `0` | no | |
47 |
| -| unauthenticated_paths | Unauthenticated path pattern to match (a maximum of 1 can be defined) | list | `<list>` | no | |
48 |
| -| unauthenticated_priority | The priority for the rules without authentication, between 1 and 50000 (1 being highest priority). Must be different from `authenticated_priority` since a listener can't have multiple rules with the same priority | string | `100` | no | |
| 29 | +| health_check_port | The port to use to connect with the target. Valid values are either ports 1-65536, or `traffic-port`. Defaults to `traffic-port` | string | `traffic-port` | no | |
| 30 | +| health_check_protocol | The protocol to use to connect with the target. Defaults to `HTTP`. Not applicable when `target_type` is `lambda` | string | `HTTP` | no | |
| 31 | +| health_check_timeout | The amount of time to wait in seconds before failing a health check request | number | `10` | no | |
| 32 | +| health_check_unhealthy_threshold | The number of consecutive health check failures required before unhealthy | number | `2` | no | |
| 33 | +| name | Name of the application | string | - | yes | |
| 34 | +| namespace | Namespace (e.g. `eg` or `cp`) | string | `` | no | |
| 35 | +| port | The port for the created ALB target group (if `target_group_arn` is not set) | number | `80` | no | |
| 36 | +| protocol | The protocol for the created ALB target group (if `target_group_arn` is not set) | string | `HTTP` | no | |
| 37 | +| slow_start | The amount of time for targets to warm up before the load balancer sends them a full share of requests. The range is 30-900 seconds or 0 to disable. The default value is `0` seconds | number | `0` | no | |
| 38 | +| stage | Stage (e.g. `prod`, `dev`, `staging`) | string | `` | no | |
| 39 | +| stickiness_cookie_duration | The time period, in seconds, during which requests from a client should be routed to the same target. After this time period expires, the load balancer-generated cookie is considered stale. The range is 1 second to 1 week (604800 seconds). The default value is 1 day (86400 seconds) | number | `86400` | no | |
| 40 | +| stickiness_enabled | Boolean to enable / disable `stickiness`. Default is `true` | bool | `true` | no | |
| 41 | +| stickiness_type | The type of sticky sessions. The only current possible value is `lb_cookie` | string | `lb_cookie` | no | |
| 42 | +| tags | Additional tags (_e.g._ { BusinessUnit : ABC }) | map(string) | `<map>` | no | |
| 43 | +| target_group_arn | Existing ALB target group ARN. If provided, set `default_target_group_enabled` to `false` to disable creation of the default target group | string | `` | no | |
| 44 | +| target_type | The type (`instance`, `ip` or `lambda`) of targets that can be registered with the target group | string | `ip` | no | |
| 45 | +| unauthenticated_hosts | Unauthenticated hosts to match in Hosts header | list(string) | `<list>` | no | |
| 46 | +| unauthenticated_listener_arns | A list of unauthenticated ALB listener ARNs to attach ALB listener rules to | list(string) | `<list>` | no | |
| 47 | +| unauthenticated_listener_arns_count | The number of unauthenticated ARNs in `unauthenticated_listener_arns`. This is necessary to work around a limitation in Terraform where counts cannot be computed | number | `0` | no | |
| 48 | +| unauthenticated_paths | Unauthenticated path pattern to match (a maximum of 1 can be defined) | list(string) | `<list>` | no | |
| 49 | +| unauthenticated_priority | The priority for the rules without authentication, between 1 and 50000 (1 being highest priority). Must be different from `authenticated_priority` since a listener can't have multiple rules with the same priority | number | `100` | no | |
49 | 50 | | vpc_id | The VPC ID where generated ALB target group will be provisioned (if `target_group_arn` is not set) | string | - | yes |
|
50 | 51 |
|
51 | 52 | ## Outputs
|
52 | 53 |
|
53 | 54 | | Name | Description |
|
54 | 55 | |------|-------------|
|
55 |
| -| target_group_arn | ALB Target group ARN | |
56 |
| -| target_group_arn_suffix | ALB Target group ARN suffix | |
57 |
| -| target_group_name | ALB Target group name | |
| 56 | +| target_group_arn | ALB Target Group ARN | |
| 57 | +| target_group_arn_suffix | ALB Target Group ARN suffix | |
| 58 | +| target_group_name | ALB Target Group name | |
58 | 59 |
|
0 commit comments