{"id":21725421,"url":"https://github.com/jameswoolfenden/terraform-aws-lb","last_synced_at":"2026-04-17T17:31:42.329Z","repository":{"id":81359227,"uuid":"333510129","full_name":"JamesWoolfenden/terraform-aws-lb","owner":"JamesWoolfenden","description":"Load balancer","archived":false,"fork":false,"pushed_at":"2023-04-25T13:35:50.000Z","size":77,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-12T09:43:04.951Z","etag":null,"topics":["aws","module","terraform"],"latest_commit_sha":null,"homepage":"","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JamesWoolfenden.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-27T17:41:36.000Z","updated_at":"2023-04-25T13:17:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"5ebfa9bf-43a4-4b40-9637-5196a86b4d19","html_url":"https://github.com/JamesWoolfenden/terraform-aws-lb","commit_stats":null,"previous_names":[],"tags_count":39,"template":false,"template_full_name":null,"purl":"pkg:github/JamesWoolfenden/terraform-aws-lb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JamesWoolfenden%2Fterraform-aws-lb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JamesWoolfenden%2Fterraform-aws-lb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JamesWoolfenden%2Fterraform-aws-lb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JamesWoolfenden%2Fterraform-aws-lb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JamesWoolfenden","download_url":"https://codeload.github.com/JamesWoolfenden/terraform-aws-lb/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JamesWoolfenden%2Fterraform-aws-lb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31938637,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T17:29:20.459Z","status":"ssl_error","status_checked_at":"2026-04-17T17:28:47.801Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","module","terraform"],"created_at":"2024-11-26T03:17:33.612Z","updated_at":"2026-04-17T17:31:42.304Z","avatar_url":"https://github.com/JamesWoolfenden.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# terraform-aws-lb\n\n[![Build Status](https://github.com/JamesWoolfenden/terraform-aws-lb/workflows/Verify/badge.svg?branch=main)](https://github.com/JamesWoolfenden/terraform-aws-lb)\n[![Latest Release](https://img.shields.io/github/release/JamesWoolfenden/terraform-aws-lb.svg)](https://github.com/JamesWoolfenden/terraform-aws-lb/releases/latest)\n[![GitHub tag (latest SemVer)](https://img.shields.io/github/tag/JamesWoolfenden/terraform-aws-lb.svg?label=latest)](https://github.com/JamesWoolfenden/terraform-aws-lb/releases/latest)\n![Terraform Version](https://img.shields.io/badge/tf-%3E%3D0.14.0-blue.svg)\n[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/JamesWoolfenden/terraform-aws-lb/cis_aws)](https://www.bridgecrew.cloud/link/badge?vcs=github\u0026fullRepo=JamesWoolfenden%2Fterraform-aws-lb\u0026benchmark=CIS+AWS+V1.2)\n[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit\u0026logoColor=white)](https://github.com/pre-commit/pre-commit)\n[![checkov](https://img.shields.io/badge/checkov-verified-brightgreen)](https://www.checkov.io/)\n[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/jameswoolfenden/terraform-aws-lb/general)](https://www.bridgecrew.cloud/link/badge?vcs=github\u0026fullRepo=JamesWoolfenden%2Fterraform-aws-lb\u0026benchmark=INFRASTRUCTURE+SECURITY)\n\nTerraform module.\n\n---\n\nIt's 100% Open Source and licensed under the [APACHE2](LICENSE).\n\n## Usage\n\nThis is just a basic example.\n\nInclude this repository as a module in your existing terraform code:\n\n```hcl\nmodule \"lb\" {\n  source      = \"JamesWoolfenden/lb/aws\"\n  version     = \"0.0.4\"\n  common_tags = var.common_tags\n}\n```\n\n\u003c!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK --\u003e\n## Requirements\n\nNo requirements.\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"provider_aws\"\u003e\u003c/a\u003e [aws](#provider\\_aws) | n/a |\n\n## Modules\n\nNo modules.\n\n## Resources\n\n| Name | Type |\n|------|------|\n| [aws_lb.examplea](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lb) | resource |\n| [aws_lb_listener.examplea](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lb_listener) | resource |\n| [aws_lb_listener_rule.examplea](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lb_listener_rule) | resource |\n| [aws_lb_target_group.examplea](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lb_target_group) | resource |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_access_logs\"\u003e\u003c/a\u003e [access\\_logs](#input\\_access\\_logs) | n/a | `bool` | `true` | no |\n| \u003ca name=\"input_bucket\"\u003e\u003c/a\u003e [bucket](#input\\_bucket) | n/a | `any` | n/a | yes |\n| \u003ca name=\"input_certificate_arn\"\u003e\u003c/a\u003e [certificate\\_arn](#input\\_certificate\\_arn) | n/a | `string` | n/a | yes |\n| \u003ca name=\"input_common_tags\"\u003e\u003c/a\u003e [common\\_tags](#input\\_common\\_tags) | This is to help you add tags to your cloud objects | `map(any)` | n/a | yes |\n| \u003ca name=\"input_healthcheck_path\"\u003e\u003c/a\u003e [healthcheck\\_path](#input\\_healthcheck\\_path) | n/a | `string` | `\"/\"` | no |\n| \u003ca name=\"input_lb-name\"\u003e\u003c/a\u003e [lb-name](#input\\_lb-name) | n/a | `string` | `\"test-lb\"` | no |\n| \u003ca name=\"input_listener\"\u003e\u003c/a\u003e [listener](#input\\_listener) | n/a | `map` | \u003cpre\u003e{\u003cbr\u003e  \"port\": 443\u003cbr\u003e}\u003c/pre\u003e | no |\n| \u003ca name=\"input_load_balancer_type\"\u003e\u003c/a\u003e [load\\_balancer\\_type](#input\\_load\\_balancer\\_type) | Pick your Load balancer type | `string` | `\"application\"` | no |\n| \u003ca name=\"input_protocol\"\u003e\u003c/a\u003e [protocol](#input\\_protocol) | n/a | `string` | `\"HTTPS\"` | no |\n| \u003ca name=\"input_rule\"\u003e\u003c/a\u003e [rule](#input\\_rule) | n/a | `list` | \u003cpre\u003e[\u003cbr\u003e  {\u003cbr\u003e    \"path_pattern\": [\u003cbr\u003e      \"/static/*\"\u003cbr\u003e    ]\u003cbr\u003e  },\u003cbr\u003e  {\u003cbr\u003e    \"host_header\": [\u003cbr\u003e      \"example.com\"\u003cbr\u003e    ]\u003cbr\u003e  }\u003cbr\u003e]\u003c/pre\u003e | no |\n| \u003ca name=\"input_security_groups\"\u003e\u003c/a\u003e [security\\_groups](#input\\_security\\_groups) | n/a | `list(any)` | n/a | yes |\n| \u003ca name=\"input_ssl_policy\"\u003e\u003c/a\u003e [ssl\\_policy](#input\\_ssl\\_policy) | n/a | `string` | `\"ELBSecurityPolicy-TLS-1-2-2017-01\"` | no |\n| \u003ca name=\"input_subnet_ids\"\u003e\u003c/a\u003e [subnet\\_ids](#input\\_subnet\\_ids) | n/a | `list(any)` | n/a | yes |\n| \u003ca name=\"input_target_port\"\u003e\u003c/a\u003e [target\\_port](#input\\_target\\_port) | n/a | `number` | `80` | no |\n| \u003ca name=\"input_target_protocol\"\u003e\u003c/a\u003e [target\\_protocol](#input\\_target\\_protocol) | n/a | `string` | `\"HTTPS\"` | no |\n| \u003ca name=\"input_vpc_id\"\u003e\u003c/a\u003e [vpc\\_id](#input\\_vpc\\_id) | n/a | `string` | n/a | yes |\n\n## Outputs\n\nNo outputs.\n\u003c!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK --\u003e\n\n## Policy\n\nThis is the policy required to build this project:\n\n\u003c!-- BEGINNING OF PRE-COMMIT-PIKE DOCS HOOK --\u003e\nThe Terraform resource required is:\n\n```golang\nresource \"aws_iam_policy\" \"terraform_pike\" {\n  name_prefix = \"terraform_pike\"\n  path        = \"/\"\n  description = \"Pike Autogenerated policy from IAC\"\n\n  policy = jsonencode({\n    \"Version\": \"2012-10-17\",\n    \"Statement\": [\n        {\n            \"Sid\": \"VisualEditor0\",\n            \"Effect\": \"Allow\",\n            \"Action\": [\n                \"elasticloadbalancing:AddListenerCertificates\",\n                \"elasticloadbalancing:AddTags\",\n                \"elasticloadbalancing:CreateListener\",\n                \"elasticloadbalancing:CreateLoadBalancer\",\n                \"elasticloadbalancing:CreateRule\",\n                \"elasticloadbalancing:CreateTargetGroup\",\n                \"elasticloadbalancing:DeleteListener\",\n                \"elasticloadbalancing:DeleteLoadBalancer\",\n                \"elasticloadbalancing:DeleteRule\",\n                \"elasticloadbalancing:DeleteTargetGroup\",\n                \"elasticloadbalancing:DescribeListenerCertificates\",\n                \"elasticloadbalancing:DescribeListeners\",\n                \"elasticloadbalancing:DescribeLoadBalancerAttributes\",\n                \"elasticloadbalancing:DescribeLoadBalancers\",\n                \"elasticloadbalancing:DescribeRules\",\n                \"elasticloadbalancing:DescribeTags\",\n                \"elasticloadbalancing:DescribeTargetGroupAttributes\",\n                \"elasticloadbalancing:DescribeTargetGroups\",\n                \"elasticloadbalancing:ModifyListener\",\n                \"elasticloadbalancing:ModifyLoadBalancerAttributes\",\n                \"elasticloadbalancing:ModifyRule\",\n                \"elasticloadbalancing:ModifyTargetGroupAttributes\",\n                \"elasticloadbalancing:RemoveListenerCertificates\",\n                \"elasticloadbalancing:RemoveTags\",\n                \"elasticloadbalancing:SetRulePriorities\",\n                \"elasticloadbalancing:SetSecurityGroups\"\n            ],\n            \"Resource\": [\n                \"*\"\n            ]\n        }\n    ]\n})\n}\n\n\n```\n\u003c!-- END OF PRE-COMMIT-PIKE DOCS HOOK --\u003e\n\n## Related Projects\n\nCheck out these related projects.\n\n- [terraform-aws-s3](https://github.com/jameswoolfenden/terraform-aws-s3) - S3 buckets\n\n## Help\n\n**Got a question?**\n\nFile a GitHub [issue](https://github.com/JamesWoolfenden/terraform-aws-lb/issues).\n\n## Contributing\n\n### Bug Reports \u0026 Feature Requests\n\nPlease use the [issue tracker](https://github.com/JamesWoolfenden/terraform-aws-lb/issues) to report any bugs or file feature requests.\n\n## Copyrights\n\nCopyright © 2019-2022 James Woolfenden\n\n## License\n\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n\nSee [LICENSE](LICENSE) for full details.\n\nLicensed to the Apache Software Foundation (ASF) under one\nor more contributor license agreements. See the NOTICE file\ndistributed with this work for additional information\nregarding copyright ownership. The ASF licenses this file\nto you under the Apache License, Version 2.0 (the\n\"License\"); you may not use this file except in compliance\nwith the License. You may obtain a copy of the License at\n\n\u003chttps://www.apache.org/licenses/LICENSE-2.0\u003e\n\nUnless required by applicable law or agreed to in writing,\nsoftware distributed under the License is distributed on an\n\"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, either express or implied. See the License for the\nspecific language governing permissions and limitations\nunder the License.\n\n### Contributors\n\n[![James Woolfenden][jameswoolfenden_avatar]][jameswoolfenden_homepage]\u003cbr/\u003e[James Woolfenden][jameswoolfenden_homepage]\n\n[jameswoolfenden_homepage]: https://github.com/jameswoolfenden\n[jameswoolfenden_avatar]: https://github.com/jameswoolfenden.png?size=150\n\n## Costs\n\n```text\nMonthly cost estimate\n\nProject: .\n\n Name                                       Monthly Qty  Unit         Monthly Cost\n\n aws_s3_bucket.logging\n ├─ Standard\n │  ├─ Storage                                        0  GB-months           $0.00\n │  ├─ PUT, COPY, POST, LIST requests                 0  1k requests         $0.00\n │  ├─ GET, SELECT, and all other requests            0  1k requests         $0.00\n │  ├─ Select data scanned                            0  GB-months           $0.00\n │  └─ Select data returned                           0  GB-months           $0.00\n ├─ Intelligent tiering\n │  ├─ Storage (frequent access)                      0  GB-months           $0.00\n │  ├─ Storage (infrequent access)                    0  GB-months           $0.00\n │  ├─ Monitoring and automation                      0  1k objects          $0.00\n │  ├─ PUT, COPY, POST, LIST requests                 0  1k requests         $0.00\n │  ├─ GET, SELECT, and all other requests            0  1k requests         $0.00\n │  ├─ Lifecycle transition                           0  1k requests         $0.00\n │  ├─ Select data scanned                            0  GB-months           $0.00\n │  ├─ Select data returned                           0  GB-months           $0.00\n │  └─ Early delete (within 30 days)                  0  GB-months           $0.00\n ├─ Standard - infrequent access\n │  ├─ Storage                                        0  GB-months           $0.00\n │  ├─ PUT, COPY, POST, LIST requests                 0  1k requests         $0.00\n │  ├─ GET, SELECT, and all other requests            0  1k requests         $0.00\n │  ├─ Lifecycle transition                           0  1k requests         $0.00\n │  ├─ Retrievals                                     0  GB-months           $0.00\n │  ├─ Select data scanned                            0  GB-months           $0.00\n │  └─ Select data returned                           0  GB-months           $0.00\n ├─ One zone - infrequent access\n │  ├─ Storage                                        0  GB-months           $0.00\n │  ├─ PUT, COPY, POST, LIST requests                 0  1k requests         $0.00\n │  ├─ GET, SELECT, and all other requests            0  1k requests         $0.00\n │  ├─ Lifecycle transition                           0  1k requests         $0.00\n │  ├─ Retrievals                                     0  GB-months           $0.00\n │  ├─ Select data scanned                            0  GB-months           $0.00\n │  └─ Select data returned                           0  GB-months           $0.00\n ├─ Glacier\n │  ├─ Storage                                        0  GB-months           $0.00\n │  ├─ PUT, COPY, POST, LIST requests                 0  1k requests         $0.00\n │  ├─ GET, SELECT, and all other requests            0  1k requests         $0.00\n │  ├─ Lifecycle transition                           0  1k requests         $0.00\n │  ├─ Retrieval requests (standard)                  0  1k requests         $0.00\n │  ├─ Retrievals (standard)                          0  GB-months           $0.00\n │  ├─ Select data scanned (standard)                 0  GB-months           $0.00\n │  ├─ Select data returned (standard)                0  GB-months           $0.00\n │  ├─ Retrieval requests (expedited)                 0  1k requests         $0.00\n │  ├─ Retrievals (expedited)                         0  GB-months           $0.00\n │  ├─ Select data scanned (expedited)                0  GB-months           $0.00\n │  ├─ Select data returned (expedited)               0  GB-months           $0.00\n │  ├─ Retrieval requests (bulk)                      0  1k requests         $0.00\n │  ├─ Retrievals (bulk)                              0  GB-months           $0.00\n │  ├─ Select data scanned (bulk)                     0  GB-months           $0.00\n │  ├─ Select data returned (bulk)                    0  GB-months           $0.00\n │  └─ Early delete (within 90 days)                  0  GB-months           $0.00\n └─ Glacier deep archive\n    ├─ Storage                                        0  GB-months           $0.00\n    ├─ PUT, COPY, POST, LIST requests                 0  1k requests         $0.00\n    ├─ GET, SELECT, and all other requests            0  1k requests         $0.00\n    ├─ Lifecycle transition                           0  1k requests         $0.00\n    ├─ Retrieval requests (standard)                  0  1k requests         $0.00\n    ├─ Retrievals (standard)                          0  GB-months           $0.00\n    ├─ Retrieval requests (bulk)                      0  1k requests         $0.00\n    ├─ Retrievals (bulk)                              0  GB-months           $0.00\n    └─ Early delete (within 180 days)                 0  GB-months           $0.00\n\n module.lb.aws_lb.examplea\n ├─ Application load balancer                       730  hours              $19.32\n └─ Load balancer capacity units                      0  LCU-hours           $0.00\n\n PROJECT TOTAL                                                              $19.32\n```\n\nWIP\n\nhttps://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-https-listener.html#describe-ssl-policies\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjameswoolfenden%2Fterraform-aws-lb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjameswoolfenden%2Fterraform-aws-lb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjameswoolfenden%2Fterraform-aws-lb/lists"}