Skip to content

Commit 458adf9

Browse files
lagerfeuerkevcube
andauthored
Make elb_name optional (#215)
* fix: make `elb_name` optional * readme --------- Co-authored-by: Kevin Mahoney <[email protected]>
1 parent c5ebef3 commit 458adf9

File tree

3 files changed

+68
-68
lines changed

3 files changed

+68
-68
lines changed

README.md

Lines changed: 66 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
1-
21
<!-- markdownlint-disable -->
3-
# terraform-aws-ecs-alb-service-task<a href="https://cpco.io/homepage"><img align="right" src="https://cloudposse.com/logo-300x69.svg" width="150" /></a> [![Latest Release](https://img.shields.io/github/release/cloudposse/terraform-aws-ecs-alb-service-task.svg)](https://github.com/cloudposse/terraform-aws-ecs-alb-service-task/releases/latest) [![Slack Community](https://slack.cloudposse.com/badge.svg)](https://slack.cloudposse.com)
2+
# terraform-aws-ecs-alb-service-task <a href="https://cpco.io/homepage?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-ecs-alb-service-task&utm_content="><img align="right" src="https://cloudposse.com/logo-300x69.svg" width="150" /></a>
3+
<a href="https://github.com/cloudposse/terraform-aws-ecs-alb-service-task/releases/latest"><img src="https://img.shields.io/github/release/cloudposse/terraform-aws-ecs-alb-service-task.svg" alt="Latest Release"/></a><a href="https://slack.cloudposse.com"><img src="https://slack.cloudposse.com/badge.svg" alt="Slack Community"/></a>
44
<!-- markdownlint-restore -->
55

6-
76
<!--
87
98
109
1110
1211
** DO NOT EDIT THIS FILE
1312
**
14-
** This file was automatically generated by the `build-harness`.
13+
** This file was automatically generated by the `cloudposse/build-harness`.
1514
** 1) Make all changes to `README.yaml`
1615
** 2) Run `make init` (you only need to do this once)
1716
** 3) Run`make readme` to rebuild this file.
@@ -27,19 +26,26 @@
2726

2827
Terraform module to create an ECS Service for a web app (task), and an ALB target group to route requests.
2928

29+
3030
---
3131
> [!NOTE]
32-
> This project is part of Cloud Posse's comprehensive ["SweetOps"](https://cpco.io/sweetops) approach towards DevOps.
33-
> <a href="https://cpco.io/terraform-modules"><img src="https://docs.cloudposse.com/images/terraform-open-source-modules.svg" align="right" /></a>
32+
> This project is part of Cloud Posse's comprehensive ["SweetOps"](https://cpco.io/homepage?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-ecs-alb-service-task&utm_content=) approach towards DevOps.
33+
> <details><summary><strong>Learn More</strong></summary>
34+
> <a href="https://cpco.io/terraform-modules?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-ecs-alb-service-task&utm_content=terraform_modules">
35+
> <picture>
36+
> <source media="(prefers-color-scheme: dark)" srcset="https://docs.cloudposse.com/images/terraform-open-source-modules-light.svg">
37+
> <source media="(prefers-color-scheme: light)" srcset="https://docs.cloudposse.com/images/terraform-open-source-modules-dark.svg">
38+
> <img alt="Terraform Open Source Modules" src="https://docs.cloudposse.com/images/terraform-open-source-modules.svg" align="right">
39+
> </picture>
40+
> </a>
41+
>
3442
>
3543
> It's 100% Open Source and licensed under the [APACHE2](LICENSE).
3644
>
37-
> We literally have [*hundreds of terraform modules*][terraform_modules] that are Open Source and well-maintained. Check them out!
38-
39-
[![README Header][readme_header_img]][readme_header_link]
40-
41-
45+
> We literally have [*hundreds of terraform modules*](https://cpco.io/terraform-modules?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-ecs-alb-service-task&utm_content=terraform_modules) that are Open Source and well-maintained. Check them out!
46+
> </details>
4247
48+
<a href="https://cloudposse.com/readme/header/link?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-ecs-alb-service-task&utm_content=readme_header_link"><img src="https://cloudposse.com/readme/header/img"/></a>
4349

4450

4551

@@ -48,12 +54,11 @@ Terraform module to create an ECS Service for a web app (task), and an ALB targe
4854

4955

5056

51-
> **Important**
52-
> We do not pin modules to versions in Cloud Posse's examples because of the
53-
> difficulty of keeping the versions in the documentation in sync with the latest released versions.
54-
> We highly recommend that in your code you pin the version to the exact version you are
55-
> using so that your infrastructure remains stable, and update versions in a
56-
> systematic way so that they do not catch you by surprise.
57+
> [!IMPORTANT]
58+
> In Cloud Posse's examples, we avoid pinning modules to specific versions to prevent discrepancies between the documentation
59+
> and the latest released versions. However, for your own projects, we strongly advise pinning each module to the exact version
60+
> you're using. This practice ensures the stability of your infrastructure. Additionally, we recommend implementing a systematic
61+
> approach for updating versions to avoid unexpected changes.
5762
5863

5964

@@ -284,7 +289,7 @@ Available targets:
284289
| <a name="input_desired_count"></a> [desired\_count](#input\_desired\_count) | The number of instances of the task definition to place and keep running | `number` | `1` | no |
285290
| <a name="input_docker_volumes"></a> [docker\_volumes](#input\_docker\_volumes) | Task docker volume definitions as list of configuration objects. You can define multiple Docker volumes on the same task definition, but a single volume can only have one `docker_volume_configuration`. | <pre>list(object({<br> host_path = string<br> name = string<br> docker_volume_configuration = list(object({<br> autoprovision = bool<br> driver = string<br> driver_opts = map(string)<br> labels = map(string)<br> scope = string<br> }))<br> }))</pre> | `[]` | no |
286291
| <a name="input_ecs_cluster_arn"></a> [ecs\_cluster\_arn](#input\_ecs\_cluster\_arn) | The ARN of the ECS cluster where service will be provisioned | `string` | n/a | yes |
287-
| <a name="input_ecs_load_balancers"></a> [ecs\_load\_balancers](#input\_ecs\_load\_balancers) | A list of load balancer config objects for the ECS service; see [ecs\_service#load\_balancer](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ecs_service#load_balancer) docs | <pre>list(object({<br> container_name = string<br> container_port = number<br> elb_name = string<br> target_group_arn = string<br> }))</pre> | `[]` | no |
292+
| <a name="input_ecs_load_balancers"></a> [ecs\_load\_balancers](#input\_ecs\_load\_balancers) | A list of load balancer config objects for the ECS service; see [ecs\_service#load\_balancer](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ecs_service#load_balancer) docs | <pre>list(object({<br> container_name = string<br> container_port = number<br> elb_name = optional(string)<br> target_group_arn = string<br> }))</pre> | `[]` | no |
288293
| <a name="input_ecs_service_enabled"></a> [ecs\_service\_enabled](#input\_ecs\_service\_enabled) | Whether or not to create the aws\_ecs\_service resource | `bool` | `true` | no |
289294
| <a name="input_efs_volumes"></a> [efs\_volumes](#input\_efs\_volumes) | Task EFS volume definitions as list of configuration objects. You can define multiple EFS volumes on the same task definition, but a single volume can only have one `efs_volume_configuration`. | <pre>list(object({<br> host_path = string<br> name = string<br> efs_volume_configuration = list(object({<br> file_system_id = string<br> root_directory = string<br> transit_encryption = string<br> transit_encryption_port = string<br> authorization_config = list(object({<br> access_point_id = string<br> iam = string<br> }))<br> }))<br> }))</pre> | `[]` | no |
290295
| <a name="input_enable_all_egress_rule"></a> [enable\_all\_egress\_rule](#input\_enable\_all\_egress\_rule) | A flag to enable/disable adding the all ports egress rule to the service security group | `bool` | `true` | no |
@@ -387,7 +392,7 @@ Check out these related projects.
387392

388393
## ✨ Contributing
389394

390-
This project is under active development, and we encourage contributions from our community.
395+
This project is under active development, and we encourage contributions from our community.
391396
Many thanks to our outstanding contributors:
392397

393398
<a href="https://github.com/cloudposse/terraform-aws-ecs-alb-service-task/graphs/contributors">
@@ -400,45 +405,53 @@ Please use the [issue tracker](https://github.com/cloudposse/terraform-aws-ecs-a
400405

401406
### 💻 Developing
402407

403-
If you are interested in being a contributor and want to get involved in developing this project or [help out](https://cpco.io/help-out) with Cloud Posse's other projects, we would love to hear from you! Shoot us an [email][email].
408+
If you are interested in being a contributor and want to get involved in developing this project or help out with Cloud Posse's other projects, we would love to hear from you!
409+
Hit us up in [Slack](https://cpco.io/slack?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-ecs-alb-service-task&utm_content=slack), in the `#cloudposse` channel.
404410

405411
In general, PRs are welcome. We follow the typical "fork-and-pull" Git workflow.
406-
407-
1. **Fork** the repo on GitHub
408-
2. **Clone** the project to your own machine
409-
3. **Commit** changes to your own branch
410-
4. **Push** your work back up to your fork
411-
5. Submit a **Pull Request** so that we can review your changes
412+
1. Review our [Code of Conduct](https://github.com/cloudposse/terraform-aws-ecs-alb-service-task/?tab=coc-ov-file#code-of-conduct) and [Contributor Guidelines](https://github.com/cloudposse/.github/blob/main/CONTRIBUTING.md).
413+
2. **Fork** the repo on GitHub
414+
3. **Clone** the project to your own machine
415+
4. **Commit** changes to your own branch
416+
5. **Push** your work back up to your fork
417+
6. Submit a **Pull Request** so that we can review your changes
412418

413419
**NOTE:** Be sure to merge the latest changes from "upstream" before making a pull request!
414420

415421
### 🌎 Slack Community
416422

417-
Join our [Open Source Community][slack] on Slack. It's **FREE** for everyone! Our "SweetOps" community is where you get to talk with others who share a similar vision for how to rollout and manage infrastructure. This is the best place to talk shop, ask questions, solicit feedback, and work together as a community to build totally *sweet* infrastructure.
423+
Join our [Open Source Community](https://cpco.io/slack?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-ecs-alb-service-task&utm_content=slack) on Slack. It's **FREE** for everyone! Our "SweetOps" community is where you get to talk with others who share a similar vision for how to rollout and manage infrastructure. This is the best place to talk shop, ask questions, solicit feedback, and work together as a community to build totally *sweet* infrastructure.
418424

419425
### 📰 Newsletter
420426

421-
Sign up for [our newsletter][newsletter] that covers everything on our technology radar. Receive updates on what we're up to on GitHub as well as awesome new projects we discover.
427+
Sign up for [our newsletter](https://cpco.io/newsletter?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-ecs-alb-service-task&utm_content=newsletter) and join 3,000+ DevOps engineers, CTOs, and founders who get insider access to the latest DevOps trends, so you can always stay in the know.
428+
Dropped straight into your Inbox every week — and usually a 5-minute read.
422429

423-
### 📆 Office Hours <img src="https://img.cloudposse.com/fit-in/200x200/https://cloudposse.com/wp-content/uploads/2019/08/Powered-by-Zoom.png" align="right" />
430+
### 📆 Office Hours <a href="https://cloudposse.com/office-hours?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-ecs-alb-service-task&utm_content=office_hours"><img src="https://img.cloudposse.com/fit-in/200x200/https://cloudposse.com/wp-content/uploads/2019/08/Powered-by-Zoom.png" align="right" /></a>
424431

425-
[Join us every Wednesday via Zoom][office_hours] for our weekly "Lunch & Learn" sessions. It's **FREE** for everyone!
432+
[Join us every Wednesday via Zoom](https://cloudposse.com/office-hours?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-ecs-alb-service-task&utm_content=office_hours) for your weekly dose of insider DevOps trends, AWS news and Terraform insights, all sourced from our SweetOps community, plus a _live Q&A_ that you can’t find anywhere else.
433+
It's **FREE** for everyone!
426434

427-
## About
435+
## About
428436

429-
This project is maintained and funded by [Cloud Posse, LLC][website].
430-
<a href="https://cpco.io/homepage"><img src="https://cloudposse.com/logo-300x69.svg" align="right" /></a>
437+
This project is maintained by <a href="https://cpco.io/homepage?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-ecs-alb-service-task&utm_content=">Cloud Posse, LLC</a>.
438+
<a href="https://cpco.io/homepage?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-ecs-alb-service-task&utm_content="><img src="https://cloudposse.com/logo-300x69.svg" align="right" /></a>
431439

432-
We are a [**DevOps Accelerator**][commercial_support]. We'll help you build your cloud infrastructure from the ground up so you can own it. Then we'll show you how to operate it and stick around for as long as you need us.
440+
We are a [**DevOps Accelerator**](https://cpco.io/commercial-support?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-ecs-alb-service-task&utm_content=commercial_support) for funded startups and enterprises.
441+
Use our ready-to-go terraform architecture blueprints for AWS to get up and running quickly.
442+
We build it with you. You own everything. Your team wins. Plus, we stick around until you succeed.
433443

434-
[![Learn More](https://img.shields.io/badge/learn%20more-success.svg?style=for-the-badge)][commercial_support]
444+
<a href="https://cpco.io/commercial-support?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-ecs-alb-service-task&utm_content=commercial_support"><img alt="Learn More" src="https://img.shields.io/badge/learn%20more-success.svg?style=for-the-badge"/></a>
435445

436-
Work directly with our team of DevOps experts via email, slack, and video conferencing.
446+
*Your team can operate like a pro today.*
437447

438-
We deliver 10x the value for a fraction of the cost of a full-time engineer. Our track record is not even funny. If you want things done right and you need it done FAST, then we're your best bet.
448+
Ensure that your team succeeds by using our proven process and turnkey blueprints. Plus, we stick around until you succeed.
449+
450+
<details>
451+
<summary>📚 <strong>See What's Included</strong></summary>
439452

440453
- **Reference Architecture.** You'll get everything you need from the ground up built using 100% infrastructure as code.
441-
- **Release Engineering.** You'll have end-to-end CI/CD with unlimited staging environments.
454+
- **Deployment Strategy.** You'll have a battle-tested deployment strategy using GitHub Actions that's automated and repeatable.
442455
- **Site Reliability Engineering.** You'll have total visibility into your apps and microservices.
443456
- **Security Baseline.** You'll have built-in governance with accountability and audit logs for all changes.
444457
- **GitOps.** You'll be able to operate your infrastructure via Pull Requests.
@@ -447,13 +460,19 @@ We deliver 10x the value for a fraction of the cost of a full-time engineer. Our
447460
- **Troubleshooting.** You'll get help to triage when things aren't working.
448461
- **Code Reviews.** You'll receive constructive feedback on Pull Requests.
449462
- **Bug Fixes.** We'll rapidly work with you to fix any bugs in our projects.
463+
</details>
450464

451-
[![README Commercial Support][readme_commercial_support_img]][readme_commercial_support_link]
465+
<a href="https://cloudposse.com/readme/commercial-support/link?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-ecs-alb-service-task&utm_content=readme_commercial_support_link"><img src="https://cloudposse.com/readme/commercial-support/img"/></a>
452466
## License
453467

454-
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
468+
<a href="https://opensource.org/licenses/Apache-2.0"><img src="https://img.shields.io/badge/License-Apache%202.0-blue.svg?style=for-the-badge" alt="License"></a>
469+
470+
<details>
471+
<summary>Preamble to the Apache License, Version 2.0</summary>
472+
<br/>
473+
<br/>
455474

456-
See [LICENSE](LICENSE) for full details.
475+
Complete license is available in the [`LICENSE`](LICENSE) file.
457476

458477
```text
459478
Licensed to the Apache Software Foundation (ASF) under one
@@ -473,34 +492,15 @@ KIND, either express or implied. See the License for the
473492
specific language governing permissions and limitations
474493
under the License.
475494
```
495+
</details>
476496

477497
## Trademarks
478498

479499
All other trademarks referenced herein are the property of their respective owners.
480500
---
481501
Copyright © 2017-2024 [Cloud Posse, LLC](https://cpco.io/copyright)
482-
[![README Footer][readme_footer_img]][readme_footer_link]
483-
[![Beacon][beacon]][website]
484-
<!-- markdownlint-disable -->
485-
[logo]: https://cloudposse.com/logo-300x69.svg
486-
[docs]: https://cpco.io/docs?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-ecs-alb-service-task&utm_content=docs
487-
[website]: https://cpco.io/homepage?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-ecs-alb-service-task&utm_content=website
488-
[github]: https://cpco.io/github?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-ecs-alb-service-task&utm_content=github
489-
[jobs]: https://cpco.io/jobs?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-ecs-alb-service-task&utm_content=jobs
490-
[hire]: https://cpco.io/hire?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-ecs-alb-service-task&utm_content=hire
491-
[slack]: https://cpco.io/slack?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-ecs-alb-service-task&utm_content=slack
492-
[twitter]: https://cpco.io/twitter?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-ecs-alb-service-task&utm_content=twitter
493-
[office_hours]: https://cloudposse.com/office-hours?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-ecs-alb-service-task&utm_content=office_hours
494-
[newsletter]: https://cpco.io/newsletter?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-ecs-alb-service-task&utm_content=newsletter
495-
[email]: https://cpco.io/email?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-ecs-alb-service-task&utm_content=email
496-
[commercial_support]: https://cpco.io/commercial-support?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-ecs-alb-service-task&utm_content=commercial_support
497-
[we_love_open_source]: https://cpco.io/we-love-open-source?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-ecs-alb-service-task&utm_content=we_love_open_source
498-
[terraform_modules]: https://cpco.io/terraform-modules?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-ecs-alb-service-task&utm_content=terraform_modules
499-
[readme_header_img]: https://cloudposse.com/readme/header/img
500-
[readme_header_link]: https://cloudposse.com/readme/header/link?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-ecs-alb-service-task&utm_content=readme_header_link
501-
[readme_footer_img]: https://cloudposse.com/readme/footer/img
502-
[readme_footer_link]: https://cloudposse.com/readme/footer/link?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-ecs-alb-service-task&utm_content=readme_footer_link
503-
[readme_commercial_support_img]: https://cloudposse.com/readme/commercial-support/img
504-
[readme_commercial_support_link]: https://cloudposse.com/readme/commercial-support/link?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-ecs-alb-service-task&utm_content=readme_commercial_support_link
505-
[beacon]: https://ga-beacon.cloudposse.com/UA-76589703-4/cloudposse/terraform-aws-ecs-alb-service-task?pixel&cs=github&cm=readme&an=terraform-aws-ecs-alb-service-task
506-
<!-- markdownlint-restore -->
502+
503+
504+
<a href="https://cloudposse.com/readme/footer/link?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-ecs-alb-service-task&utm_content=readme_footer_link"><img alt="README footer" src="https://cloudposse.com/readme/footer/img"/></a>
505+
506+
<img alt="Beacon" width="0" src="https://ga-beacon.cloudposse.com/UA-76589703-4/cloudposse/terraform-aws-ecs-alb-service-task?pixel&cs=github&cm=readme&an=terraform-aws-ecs-alb-service-task"/>

0 commit comments

Comments
 (0)