From ac9ead145413408c0ed4abc4499a9a9a95882d3d Mon Sep 17 00:00:00 2001 From: Bryant Biggs Date: Fri, 26 Mar 2021 19:10:24 -0400 Subject: [PATCH] chore: update documentation and pin `terraform_docs` version to avoid future changes --- .github/workflows/pre-commit.yml | 2 +- .pre-commit-config.yaml | 2 +- README.md | 103 ++++++++++++++++--------------- examples/complete-alb/README.md | 62 +++++++++---------- examples/complete-nlb/README.md | 54 ++++++++-------- 5 files changed, 112 insertions(+), 111 deletions(-) diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index efa5a77..2de6284 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -94,7 +94,7 @@ jobs: - name: Install pre-commit dependencies run: | pip install pre-commit - curl -L "$(curl -s https://api.github.com/repos/terraform-docs/terraform-docs/releases/latest | grep -o -E "https://.+?-linux-amd64" | head -n1)" > terraform-docs && chmod +x terraform-docs && sudo mv terraform-docs /usr/bin/ + curl -L "$(curl -s https://api.github.com/repos/terraform-docs/terraform-docs/releases/v0.12.0 | grep -o -E "https://.+?-linux-amd64" | head -n1)" > terraform-docs && chmod +x terraform-docs && sudo mv terraform-docs /usr/bin/ curl -L "$(curl -s https://api.github.com/repos/terraform-linters/tflint/releases/latest | grep -o -E "https://.+?_linux_amd64.zip")" > tflint.zip && unzip tflint.zip && rm tflint.zip && sudo mv tflint /usr/bin/ - name: Execute pre-commit # Run all pre-commit checks on max version supported diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 188d38a..8814cf6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: git://github.com/antonbabenko/pre-commit-terraform - rev: v1.47.0 + rev: v1.48.0 hooks: - id: terraform_fmt - id: terraform_validate diff --git a/README.md b/README.md index 398db47..ce872ae 100644 --- a/README.md +++ b/README.md @@ -301,78 +301,79 @@ module "lb" { | Name | Version | |------|---------| -| terraform | >= 0.12.6 | -| aws | >= 2.54 | +| [terraform](#requirement\_terraform) | >= 0.12.6 | +| [aws](#requirement\_aws) | >= 2.54 | ## Providers | Name | Version | |------|---------| -| aws | >= 2.54 | +| [aws](#provider\_aws) | >= 2.54 | ## Modules -No Modules. +No modules. ## Resources -| Name | -|------| -| [aws_lb](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lb) | -| [aws_lb_listener](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lb_listener) | -| [aws_lb_listener_certificate](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lb_listener_certificate) | -| [aws_lb_listener_rule](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lb_listener_rule) | -| [aws_lb_target_group](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lb_target_group) | +| Name | Type | +|------|------| +| [aws_lb.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lb) | resource | +| [aws_lb_listener.frontend_http_tcp](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lb_listener) | resource | +| [aws_lb_listener.frontend_https](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lb_listener) | resource | +| [aws_lb_listener_certificate.https_listener](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lb_listener_certificate) | resource | +| [aws_lb_listener_rule.https_listener_rule](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lb_listener_rule) | resource | +| [aws_lb_target_group.main](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lb_target_group) | resource | ## Inputs | Name | Description | Type | Default | Required | |------|-------------|------|---------|:--------:| -| access\_logs | Map containing access logging configuration for load balancer. | `map(string)` | `{}` | no | -| create\_lb | Controls if the Load Balancer should be created | `bool` | `true` | no | -| drop\_invalid\_header\_fields | Indicates whether invalid header fields are dropped in application load balancers. Defaults to false. | `bool` | `false` | no | -| enable\_cross\_zone\_load\_balancing | Indicates whether cross zone load balancing should be enabled in application load balancers. | `bool` | `false` | no | -| 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. Defaults to false. | `bool` | `false` | no | -| enable\_http2 | Indicates whether HTTP/2 is enabled in application load balancers. | `bool` | `true` | no | -| extra\_ssl\_certs | A list of maps describing any extra SSL certificates to apply to the HTTPS listeners. Required key/values: certificate\_arn, https\_listener\_index (the index of the listener within https\_listeners which the cert applies toward). | `list(map(string))` | `[]` | no | -| http\_tcp\_listeners | A list of maps describing the HTTP listeners or TCP ports for this ALB. Required key/values: port, protocol. Optional key/values: target\_group\_index (defaults to http\_tcp\_listeners[count.index]) | `any` | `[]` | no | -| https\_listener\_rules | A list of maps describing the Listener Rules for this ALB. Required key/values: actions, conditions. Optional key/values: priority, https\_listener\_index (default to https\_listeners[count.index]) | `any` | `[]` | no | -| https\_listeners | A list of maps describing the HTTPS listeners for this ALB. Required key/values: port, certificate\_arn. Optional key/values: ssl\_policy (defaults to ELBSecurityPolicy-2016-08), target\_group\_index (defaults to https\_listeners[count.index]) | `any` | `[]` | no | -| idle\_timeout | The time in seconds that the connection is allowed to be idle. | `number` | `60` | no | -| internal | Boolean determining if the load balancer is internal or externally facing. | `bool` | `false` | no | -| 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 | -| lb\_tags | A map of tags to add to load balancer | `map(string)` | `{}` | no | -| listener\_ssl\_policy\_default | The security policy if using HTTPS externally on the load balancer. [See](https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-security-policy-table.html). | `string` | `"ELBSecurityPolicy-2016-08"` | no | -| load\_balancer\_create\_timeout | Timeout value when creating the ALB. | `string` | `"10m"` | no | -| load\_balancer\_delete\_timeout | Timeout value when deleting the ALB. | `string` | `"10m"` | no | -| load\_balancer\_type | The type of load balancer to create. Possible values are application or network. | `string` | `"application"` | no | -| load\_balancer\_update\_timeout | Timeout value when updating the ALB. | `string` | `"10m"` | no | -| name | The resource name and Name tag of the load balancer. | `string` | `null` | no | -| name\_prefix | The resource name prefix and Name tag of the load balancer. Cannot be longer than 6 characters | `string` | `null` | no | -| security\_groups | The security groups to attach to the load balancer. e.g. ["sg-edcd9784","sg-edcd9785"] | `list(string)` | `[]` | no | -| subnet\_mapping | A list of subnet mapping blocks describing subnets to attach to network load balancer | `list(map(string))` | `[]` | no | -| subnets | A list of subnets to associate with the load balancer. e.g. ['subnet-1a2b3c4d','subnet-1a2b3c4e','subnet-1a2b3c4f'] | `list(string)` | `null` | no | -| tags | A map of tags to add to all resources | `map(string)` | `{}` | no | -| target\_group\_tags | A map of tags to add to all target groups | `map(string)` | `{}` | no | -| target\_groups | A list of maps containing key/value pairs that define the target groups to be created. Order of these maps is important and the index of these are to be referenced in listener definitions. Required key/values: name, backend\_protocol, backend\_port | `any` | `[]` | no | -| vpc\_id | VPC id where the load balancer and other resources will be deployed. | `string` | `null` | no | +| [access\_logs](#input\_access\_logs) | Map containing access logging configuration for load balancer. | `map(string)` | `{}` | no | +| [create\_lb](#input\_create\_lb) | Controls if the Load Balancer should be created | `bool` | `true` | no | +| [drop\_invalid\_header\_fields](#input\_drop\_invalid\_header\_fields) | Indicates whether invalid header fields are dropped in application load balancers. Defaults to false. | `bool` | `false` | no | +| [enable\_cross\_zone\_load\_balancing](#input\_enable\_cross\_zone\_load\_balancing) | Indicates whether cross zone load balancing should be enabled in application load balancers. | `bool` | `false` | no | +| [enable\_deletion\_protection](#input\_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. Defaults to false. | `bool` | `false` | no | +| [enable\_http2](#input\_enable\_http2) | Indicates whether HTTP/2 is enabled in application load balancers. | `bool` | `true` | no | +| [extra\_ssl\_certs](#input\_extra\_ssl\_certs) | A list of maps describing any extra SSL certificates to apply to the HTTPS listeners. Required key/values: certificate\_arn, https\_listener\_index (the index of the listener within https\_listeners which the cert applies toward). | `list(map(string))` | `[]` | no | +| [http\_tcp\_listeners](#input\_http\_tcp\_listeners) | A list of maps describing the HTTP listeners or TCP ports for this ALB. Required key/values: port, protocol. Optional key/values: target\_group\_index (defaults to http\_tcp\_listeners[count.index]) | `any` | `[]` | no | +| [https\_listener\_rules](#input\_https\_listener\_rules) | A list of maps describing the Listener Rules for this ALB. Required key/values: actions, conditions. Optional key/values: priority, https\_listener\_index (default to https\_listeners[count.index]) | `any` | `[]` | no | +| [https\_listeners](#input\_https\_listeners) | A list of maps describing the HTTPS listeners for this ALB. Required key/values: port, certificate\_arn. Optional key/values: ssl\_policy (defaults to ELBSecurityPolicy-2016-08), target\_group\_index (defaults to https\_listeners[count.index]) | `any` | `[]` | no | +| [idle\_timeout](#input\_idle\_timeout) | The time in seconds that the connection is allowed to be idle. | `number` | `60` | no | +| [internal](#input\_internal) | Boolean determining if the load balancer is internal or externally facing. | `bool` | `false` | no | +| [ip\_address\_type](#input\_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 | +| [lb\_tags](#input\_lb\_tags) | A map of tags to add to load balancer | `map(string)` | `{}` | no | +| [listener\_ssl\_policy\_default](#input\_listener\_ssl\_policy\_default) | The security policy if using HTTPS externally on the load balancer. [See](https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-security-policy-table.html). | `string` | `"ELBSecurityPolicy-2016-08"` | no | +| [load\_balancer\_create\_timeout](#input\_load\_balancer\_create\_timeout) | Timeout value when creating the ALB. | `string` | `"10m"` | no | +| [load\_balancer\_delete\_timeout](#input\_load\_balancer\_delete\_timeout) | Timeout value when deleting the ALB. | `string` | `"10m"` | no | +| [load\_balancer\_type](#input\_load\_balancer\_type) | The type of load balancer to create. Possible values are application or network. | `string` | `"application"` | no | +| [load\_balancer\_update\_timeout](#input\_load\_balancer\_update\_timeout) | Timeout value when updating the ALB. | `string` | `"10m"` | no | +| [name](#input\_name) | The resource name and Name tag of the load balancer. | `string` | `null` | no | +| [name\_prefix](#input\_name\_prefix) | The resource name prefix and Name tag of the load balancer. Cannot be longer than 6 characters | `string` | `null` | no | +| [security\_groups](#input\_security\_groups) | The security groups to attach to the load balancer. e.g. ["sg-edcd9784","sg-edcd9785"] | `list(string)` | `[]` | no | +| [subnet\_mapping](#input\_subnet\_mapping) | A list of subnet mapping blocks describing subnets to attach to network load balancer | `list(map(string))` | `[]` | no | +| [subnets](#input\_subnets) | A list of subnets to associate with the load balancer. e.g. ['subnet-1a2b3c4d','subnet-1a2b3c4e','subnet-1a2b3c4f'] | `list(string)` | `null` | no | +| [tags](#input\_tags) | A map of tags to add to all resources | `map(string)` | `{}` | no | +| [target\_group\_tags](#input\_target\_group\_tags) | A map of tags to add to all target groups | `map(string)` | `{}` | no | +| [target\_groups](#input\_target\_groups) | A list of maps containing key/value pairs that define the target groups to be created. Order of these maps is important and the index of these are to be referenced in listener definitions. Required key/values: name, backend\_protocol, backend\_port | `any` | `[]` | no | +| [vpc\_id](#input\_vpc\_id) | VPC id where the load balancer and other resources will be deployed. | `string` | `null` | no | ## Outputs | Name | Description | |------|-------------| -| http\_tcp\_listener\_arns | The ARN of the TCP and HTTP load balancer listeners created. | -| http\_tcp\_listener\_ids | The IDs of the TCP and HTTP load balancer listeners created. | -| https\_listener\_arns | The ARNs of the HTTPS load balancer listeners created. | -| https\_listener\_ids | The IDs of the load balancer listeners created. | -| target\_group\_arn\_suffixes | ARN suffixes of our target groups - can be used with CloudWatch. | -| target\_group\_arns | ARNs of the target groups. Useful for passing to your Auto Scaling group. | -| target\_group\_names | Name of the target group. Useful for passing to your CodeDeploy Deployment Group. | -| this\_lb\_arn | The ID and ARN of the load balancer we created. | -| this\_lb\_arn\_suffix | ARN suffix of our load balancer - can be used with CloudWatch. | -| this\_lb\_dns\_name | The DNS name of the load balancer. | -| this\_lb\_id | The ID and ARN of the load balancer we created. | -| this\_lb\_zone\_id | The zone\_id of the load balancer to assist with creating DNS records. | +| [http\_tcp\_listener\_arns](#output\_http\_tcp\_listener\_arns) | The ARN of the TCP and HTTP load balancer listeners created. | +| [http\_tcp\_listener\_ids](#output\_http\_tcp\_listener\_ids) | The IDs of the TCP and HTTP load balancer listeners created. | +| [https\_listener\_arns](#output\_https\_listener\_arns) | The ARNs of the HTTPS load balancer listeners created. | +| [https\_listener\_ids](#output\_https\_listener\_ids) | The IDs of the load balancer listeners created. | +| [target\_group\_arn\_suffixes](#output\_target\_group\_arn\_suffixes) | ARN suffixes of our target groups - can be used with CloudWatch. | +| [target\_group\_arns](#output\_target\_group\_arns) | ARNs of the target groups. Useful for passing to your Auto Scaling group. | +| [target\_group\_names](#output\_target\_group\_names) | Name of the target group. Useful for passing to your CodeDeploy Deployment Group. | +| [this\_lb\_arn](#output\_this\_lb\_arn) | The ID and ARN of the load balancer we created. | +| [this\_lb\_arn\_suffix](#output\_this\_lb\_arn\_suffix) | ARN suffix of our load balancer - can be used with CloudWatch. | +| [this\_lb\_dns\_name](#output\_this\_lb\_dns\_name) | The DNS name of the load balancer. | +| [this\_lb\_id](#output\_this\_lb\_id) | The ID and ARN of the load balancer we created. | +| [this\_lb\_zone\_id](#output\_this\_lb\_zone\_id) | The zone\_id of the load balancer to assist with creating DNS records. | ## Authors diff --git a/examples/complete-alb/README.md b/examples/complete-alb/README.md index 98b4122..14b839e 100644 --- a/examples/complete-alb/README.md +++ b/examples/complete-alb/README.md @@ -19,56 +19,56 @@ Note that this example may create resources which cost money. Run `terraform des | Name | Version | |------|---------| -| terraform | >= 0.12.26 | -| aws | >= 2.54 | -| random | >= 2.0 | +| [terraform](#requirement\_terraform) | >= 0.12.26 | +| [aws](#requirement\_aws) | >= 2.54 | +| [random](#requirement\_random) | >= 2.0 | ## Providers | Name | Version | |------|---------| -| aws | >= 2.54 | -| random | >= 2.0 | +| [aws](#provider\_aws) | >= 2.54 | +| [random](#provider\_random) | >= 2.0 | ## Modules | Name | Source | Version | |------|--------|---------| -| acm | terraform-aws-modules/acm/aws | ~> 2.0 | -| alb | ../../ | | -| lb_disabled | ../../ | | -| security_group | terraform-aws-modules/security-group/aws | ~> 3.0 | +| [acm](#module\_acm) | terraform-aws-modules/acm/aws | ~> 2.0 | +| [alb](#module\_alb) | ../../ | | +| [lb\_disabled](#module\_lb\_disabled) | ../../ | | +| [security\_group](#module\_security\_group) | terraform-aws-modules/security-group/aws | ~> 3.0 | ## Resources -| Name | -|------| -| [aws_cognito_user_pool](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cognito_user_pool) | -| [aws_cognito_user_pool_client](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cognito_user_pool_client) | -| [aws_cognito_user_pool_domain](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cognito_user_pool_domain) | -| [aws_route53_zone](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/route53_zone) | -| [aws_subnet_ids](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/subnet_ids) | -| [aws_vpc](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/vpc) | -| [random_pet](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/pet) | +| Name | Type | +|------|------| +| [aws_cognito_user_pool.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cognito_user_pool) | resource | +| [aws_cognito_user_pool_client.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cognito_user_pool_client) | resource | +| [aws_cognito_user_pool_domain.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cognito_user_pool_domain) | resource | +| [random_pet.this](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/pet) | resource | +| [aws_route53_zone.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/route53_zone) | data source | +| [aws_subnet_ids.all](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/subnet_ids) | data source | +| [aws_vpc.default](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/vpc) | data source | ## Inputs -No input. +No inputs. ## Outputs | Name | Description | |------|-------------| -| http\_tcp\_listener\_arns | The ARN of the TCP and HTTP load balancer listeners created. | -| http\_tcp\_listener\_ids | The IDs of the TCP and HTTP load balancer listeners created. | -| https\_listener\_arns | The ARNs of the HTTPS load balancer listeners created. | -| https\_listener\_ids | The IDs of the load balancer listeners created. | -| target\_group\_arn\_suffixes | ARN suffixes of our target groups - can be used with CloudWatch. | -| target\_group\_arns | ARNs of the target groups. Useful for passing to your Auto Scaling group. | -| target\_group\_names | Name of the target group. Useful for passing to your CodeDeploy Deployment Group. | -| this\_lb\_arn | The ID and ARN of the load balancer we created. | -| this\_lb\_arn\_suffix | ARN suffix of our load balancer - can be used with CloudWatch. | -| this\_lb\_dns\_name | The DNS name of the load balancer. | -| this\_lb\_id | The ID and ARN of the load balancer we created. | -| this\_lb\_zone\_id | The zone\_id of the load balancer to assist with creating DNS records. | +| [http\_tcp\_listener\_arns](#output\_http\_tcp\_listener\_arns) | The ARN of the TCP and HTTP load balancer listeners created. | +| [http\_tcp\_listener\_ids](#output\_http\_tcp\_listener\_ids) | The IDs of the TCP and HTTP load balancer listeners created. | +| [https\_listener\_arns](#output\_https\_listener\_arns) | The ARNs of the HTTPS load balancer listeners created. | +| [https\_listener\_ids](#output\_https\_listener\_ids) | The IDs of the load balancer listeners created. | +| [target\_group\_arn\_suffixes](#output\_target\_group\_arn\_suffixes) | ARN suffixes of our target groups - can be used with CloudWatch. | +| [target\_group\_arns](#output\_target\_group\_arns) | ARNs of the target groups. Useful for passing to your Auto Scaling group. | +| [target\_group\_names](#output\_target\_group\_names) | Name of the target group. Useful for passing to your CodeDeploy Deployment Group. | +| [this\_lb\_arn](#output\_this\_lb\_arn) | The ID and ARN of the load balancer we created. | +| [this\_lb\_arn\_suffix](#output\_this\_lb\_arn\_suffix) | ARN suffix of our load balancer - can be used with CloudWatch. | +| [this\_lb\_dns\_name](#output\_this\_lb\_dns\_name) | The DNS name of the load balancer. | +| [this\_lb\_id](#output\_this\_lb\_id) | The ID and ARN of the load balancer we created. | +| [this\_lb\_zone\_id](#output\_this\_lb\_zone\_id) | The zone\_id of the load balancer to assist with creating DNS records. | diff --git a/examples/complete-nlb/README.md b/examples/complete-nlb/README.md index 74d1bd0..4a11c5c 100644 --- a/examples/complete-nlb/README.md +++ b/examples/complete-nlb/README.md @@ -19,52 +19,52 @@ Note that this example may create resources which cost money. Run `terraform des | Name | Version | |------|---------| -| terraform | >= 0.12.26 | -| aws | >= 2.54 | -| random | >= 2.0 | +| [terraform](#requirement\_terraform) | >= 0.12.26 | +| [aws](#requirement\_aws) | >= 2.54 | +| [random](#requirement\_random) | >= 2.0 | ## Providers | Name | Version | |------|---------| -| aws | >= 2.54 | -| random | >= 2.0 | +| [aws](#provider\_aws) | >= 2.54 | +| [random](#provider\_random) | >= 2.0 | ## Modules | Name | Source | Version | |------|--------|---------| -| acm | terraform-aws-modules/acm/aws | ~> 2.0 | -| nlb | ../../ | | +| [acm](#module\_acm) | terraform-aws-modules/acm/aws | ~> 2.0 | +| [nlb](#module\_nlb) | ../../ | | ## Resources -| Name | -|------| -| [aws_eip](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/eip) | -| [aws_route53_zone](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/route53_zone) | -| [aws_subnet_ids](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/subnet_ids) | -| [aws_vpc](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/vpc) | -| [random_pet](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/pet) | +| Name | Type | +|------|------| +| [aws_eip.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/eip) | resource | +| [random_pet.this](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/pet) | resource | +| [aws_route53_zone.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/route53_zone) | data source | +| [aws_subnet_ids.all](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/subnet_ids) | data source | +| [aws_vpc.default](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/vpc) | data source | ## Inputs -No input. +No inputs. ## Outputs | Name | Description | |------|-------------| -| http\_tcp\_listener\_arns | The ARN of the TCP and HTTP load balancer listeners created. | -| http\_tcp\_listener\_ids | The IDs of the TCP and HTTP load balancer listeners created. | -| https\_listener\_arns | The ARNs of the HTTPS load balancer listeners created. | -| https\_listener\_ids | The IDs of the load balancer listeners created. | -| target\_group\_arn\_suffixes | ARN suffixes of our target groups - can be used with CloudWatch. | -| target\_group\_arns | ARNs of the target groups. Useful for passing to your Auto Scaling group. | -| target\_group\_names | Name of the target group. Useful for passing to your CodeDeploy Deployment Group. | -| this\_lb\_arn | The ID and ARN of the load balancer we created. | -| this\_lb\_arn\_suffix | ARN suffix of our load balancer - can be used with CloudWatch. | -| this\_lb\_dns\_name | The DNS name of the load balancer. | -| this\_lb\_id | The ID and ARN of the load balancer we created. | -| this\_lb\_zone\_id | The zone\_id of the load balancer to assist with creating DNS records. | +| [http\_tcp\_listener\_arns](#output\_http\_tcp\_listener\_arns) | The ARN of the TCP and HTTP load balancer listeners created. | +| [http\_tcp\_listener\_ids](#output\_http\_tcp\_listener\_ids) | The IDs of the TCP and HTTP load balancer listeners created. | +| [https\_listener\_arns](#output\_https\_listener\_arns) | The ARNs of the HTTPS load balancer listeners created. | +| [https\_listener\_ids](#output\_https\_listener\_ids) | The IDs of the load balancer listeners created. | +| [target\_group\_arn\_suffixes](#output\_target\_group\_arn\_suffixes) | ARN suffixes of our target groups - can be used with CloudWatch. | +| [target\_group\_arns](#output\_target\_group\_arns) | ARNs of the target groups. Useful for passing to your Auto Scaling group. | +| [target\_group\_names](#output\_target\_group\_names) | Name of the target group. Useful for passing to your CodeDeploy Deployment Group. | +| [this\_lb\_arn](#output\_this\_lb\_arn) | The ID and ARN of the load balancer we created. | +| [this\_lb\_arn\_suffix](#output\_this\_lb\_arn\_suffix) | ARN suffix of our load balancer - can be used with CloudWatch. | +| [this\_lb\_dns\_name](#output\_this\_lb\_dns\_name) | The DNS name of the load balancer. | +| [this\_lb\_id](#output\_this\_lb\_id) | The ID and ARN of the load balancer we created. | +| [this\_lb\_zone\_id](#output\_this\_lb\_zone\_id) | The zone\_id of the load balancer to assist with creating DNS records. |