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
+23-8Lines changed: 23 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ Terraform 0.12. Pin module version to `~> v1.0`. Submit pull-requests to `master
19
19
module "alb" {
20
20
source = "umotif-public/alb/aws"
21
21
version = "~> 1.0"
22
-
22
+
23
23
name_prefix = "complete-alb"
24
24
25
25
load_balancer_type = "application"
@@ -80,25 +80,25 @@ Module managed by [Marcin Cuber](https://github.com/marcincuber) [linkedin](http
80
80
81
81
| Name | Description | Type | Default | Required |
82
82
|------|-------------|:----:|:-----:|:-----:|
83
-
| name\_prefix | A prefix used for naming resources. | string | n/a | yes |
84
-
| subnets | A list of subnet IDs to attach to the LB. | list(string) | n/a | yes |
85
-
| vpc\_id | The VPC ID. | string | n/a | yes |
86
83
| access\_logs | An Access Logs block. | map(string) |`{}`| no |
87
84
| cidr\_blocks\_redirect | List of CIDR ranges to allow at security group level. Defaults to 0.0.0.0/0 | list(string) |`[ "0.0.0.0/0" ]`| no |
88
85
| description | The description of the all resources. | string |`"Managed by Terraform"`| no |
89
86
| enable\_cross\_zone\_load\_balancing | If true, cross-zone load balancing of the load balancer will be enabled. This is a network load balancer feature. | bool |`"false"`| no |
90
87
| enable\_deletion\_protection | If true, deletion of the load balancer will be disabled via the AWS API. This will prevent Terraform from deleting the load balancer. | bool |`"false"`| no |
91
88
| enable\_http2 | Indicates whether HTTP/2 is enabled in application load balancers. | bool |`"true"`| no |
92
89
| enable\_http\_to\_https\_redirect | Enable default redirect rule from port 80 to 443. | bool |`"false"`| no |
93
-
| idle\_timeout | (Optional) The time in seconds that the connection is allowed to be idle. Only valid for Load Balancers of type application. | number |`"60"`| no |
90
+
| idle\_timeout |\(Optional\) The time in seconds that the connection is allowed to be idle. Only valid for Load Balancers of type application. | number |`"60"`| no |
94
91
| internal | Provision an internal load balancer. Defaults to false. | bool |`"false"`| no |
95
92
| ip\_address\_type | The type of IP addresses used by the subnets for your load balancer. The possible values are ipv4 and dualstack. | string |`"ipv4"`| no |
96
93
| load\_balancer\_create\_timeout | Timeout value when creating the ALB. | string |`"15m"`| no |
97
94
| load\_balancer\_delete\_timeout | Timeout value when deleting the ALB. | string |`"15m"`| no |
98
-
| load\_balancer\_type | Type of load balancer to provision (network or application). | string |`"application"`| no |
95
+
| load\_balancer\_type | Type of load balancer to provision \(network or application\). | string |`"application"`| no |
99
96
| load\_balancer\_update\_timeout | Timeout value when updating the ALB. | string |`"15m"`| no |
97
+
| name\_prefix | A prefix used for naming resources. | string | n/a | yes |
100
98
| subnet\_mapping | A list of subnet mapping blocks describing subnets to attach to network load balancer | list(map(string)) |`[]`| no |
101
-
| tags | A map of tags (key-value pairs) passed to resources. | map(string) |`{}`| no |
99
+
| subnets | A list of subnet IDs to attach to the LB. | list(string) | n/a | yes |
100
+
| tags | A map of tags \(key-value pairs\) passed to resources. | map(string) |`{}`| no |
101
+
| vpc\_id | The VPC ID. | string | n/a | yes |
102
102
103
103
## Outputs
104
104
@@ -110,10 +110,25 @@ Module managed by [Marcin Cuber](https://github.com/marcincuber) [linkedin](http
110
110
| name | The name of the load balancer. |
111
111
| origin\_id | First part of the DNS name of the load balancer. |
112
112
| security\_group\_id | The ID of the security group. |
113
-
| zone\_id | The canonical hosted zone ID of the load balancer (to be used in a Route 53 Alias record). |
113
+
| zone\_id | The canonical hosted zone ID of the load balancer \(to be used in a Route 53 Alias record\). |
114
114
115
115
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
116
116
117
117
## License
118
118
119
119
See LICENSE for full details.
120
+
121
+
## Pre-commit hooks
122
+
123
+
### Install dependencies
124
+
125
+
*[`pre-commit`](https://pre-commit.com/#install)
126
+
*[`terraform-docs`](https://github.com/segmentio/terraform-docs) required for `terraform_docs` hooks.
127
+
*[`TFLint`](https://github.com/terraform-linters/tflint) required for `terraform_tflint` hook.
0 commit comments