Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/miquido/terraform-ecs-envoy
https://github.com/miquido/terraform-ecs-envoy
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/miquido/terraform-ecs-envoy
- Owner: miquido
- Created: 2023-09-13T05:32:48.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-31T06:41:52.000Z (5 months ago)
- Last Synced: 2024-11-09T11:34:50.689Z (2 months ago)
- Language: HCL
- Size: 32.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Miquido][logo]](https://www.miquido.com/)
# terraform-ecs-envoy
Provide app mesh envoy container definition for ECS
---
**Terraform Module**
## Usage```hcl
module "ecs-alb-task-service-envoy-proxy" {
source = "git::ssh://[email protected]/miquido/terraform/terraform-ecs-envoy.git"
appmesh-resource-arn = ...
awslogs-group = ...
awslogs-region = ...
app-ports = ...
egress-ignored-ports = ...
container_name = ...
aws_service_discovery_service_arn = ...
}
```## Makefile Targets
```text
Available targets:help Help screen
help/all Display help for all targets
help/short This help short screen
lint Lint Terraform code```
## Requirements
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 0.13 |
| [aws](#requirement\_aws) | ~> 3.0 |## Providers
No providers.
## Modules
| Name | Source | Version |
|------|--------|---------|
| [ecs-proxy-container-definition](#module\_ecs-proxy-container-definition) | git::https://github.com/cloudposse/terraform-aws-ecs-container-definition.git | 0.58.1 |## Resources
No resources.
## Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [app-ports](#input\_app-ports) | Coma separated app port numbers | `string` | n/a | yes |
| [appmesh-resource-arn](#input\_appmesh-resource-arn) | arn of appmesh virual node | `string` | n/a | yes |
| [aws\_service\_discovery\_service\_arn](#input\_aws\_service\_discovery\_service\_arn) | arn of service discovery service | `string` | n/a | yes |
| [awslogs-group](#input\_awslogs-group) | group of CloudWatch logs | `string` | n/a | yes |
| [awslogs-region](#input\_awslogs-region) | region of CloudWatch logs | `string` | n/a | yes |
| [container\_memory](#input\_container\_memory) | The amount of memory (in MiB) to allow the container to use. This is a hard limit, if the container attempts to exceed the container\_memory, the container is killed. This field is optional for Fargate launch type and the total amount of container\_memory of all containers in a task will need to be lower than the task memory value | `number` | `null` | no |
| [container\_name](#input\_container\_name) | Cloud map container name | `string` | n/a | yes |
| [egress-ignored-ports](#input\_egress-ignored-ports) | Coma separated egress ignored ports | `string` | n/a | yes |
| [ulimits](#input\_ulimits) | Container ulimit settings. This is a list of maps, where each map should contain "name", "hardLimit" and "softLimit" |list(object({| `null` | no |
name = string
hardLimit = number
softLimit = number
}))## Outputs
| Name | Description |
|------|-------------|
| [container\_dependant](#output\_container\_dependant) | n/a |
| [json\_map\_encoded](#output\_json\_map\_encoded) | JSON string encoded container definitions for use with other terraform resources such as aws\_ecs\_task\_definition |
| [json\_map\_encoded\_list](#output\_json\_map\_encoded\_list) | JSON string encoded list of container definitions for use with other terraform resources such as aws\_ecs\_task\_definition |
| [json\_map\_object](#output\_json\_map\_object) | JSON map encoded container definition |
| [proxy\_configuration](#output\_proxy\_configuration) | n/a |
| [service\_registries](#output\_service\_registries) | n/a |## Developing
1. Make changes in terraform files
2. Regenerate documentation
```bash
bash <(git archive [email protected]:miquido/terraform/terraform-readme-update.git master update.sh | tar -xO)
```3. Run lint
```
make lint
```## Copyright
Copyright © 2017-2022 [Miquido](https://miquido.com)
### Contributors
| [![Marek Mościchowski][marekmoscichowski_avatar]][marekmoscichowski_homepage]
[Marek Mościchowski][marekmoscichowski_homepage] |
|---|[marekmoscichowski_homepage]: https://github.com/marekmoscichowski
[marekmoscichowski_avatar]: https://github.com/marekmoscichowski.png?size=150[logo]: https://www.miquido.com/img/logos/logo__miquido.svg
[website]: https://www.miquido.com/
[gitlab]: https://gitlab.com/miquido
[github]: https://github.com/miquido
[bitbucket]: https://bitbucket.org/miquido