{"id":22519389,"url":"https://github.com/hennge/terraform-aws-ecs","last_synced_at":"2025-07-25T02:06:56.883Z","repository":{"id":39251611,"uuid":"227786598","full_name":"HENNGE/terraform-aws-ecs","owner":"HENNGE","description":"Terraform module which creates ECS (EC2 and Fargate) and related resources (autoscaling, cron fargate, etc.) on AWS","archived":false,"fork":false,"pushed_at":"2024-06-14T03:39:01.000Z","size":164,"stargazers_count":33,"open_issues_count":1,"forks_count":23,"subscribers_count":18,"default_branch":"main","last_synced_at":"2024-12-07T04:20:09.257Z","etag":null,"topics":["aws","ecs","terraform","terraform-module","terraform-modules"],"latest_commit_sha":null,"homepage":"https://registry.terraform.io/modules/HENNGE/ecs/aws/latest","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/HENNGE.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":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-12-13T07:56:37.000Z","updated_at":"2024-10-27T14:17:24.000Z","dependencies_parsed_at":"2023-11-07T09:29:45.107Z","dependency_job_id":"f68ae1fa-1ba6-41ac-a28b-355127e9abdf","html_url":"https://github.com/HENNGE/terraform-aws-ecs","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HENNGE%2Fterraform-aws-ecs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HENNGE%2Fterraform-aws-ecs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HENNGE%2Fterraform-aws-ecs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HENNGE%2Fterraform-aws-ecs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HENNGE","download_url":"https://codeload.github.com/HENNGE/terraform-aws-ecs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230487843,"owners_count":18233865,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","ecs","terraform","terraform-module","terraform-modules"],"created_at":"2024-12-07T04:19:49.165Z","updated_at":"2025-07-25T02:06:56.865Z","avatar_url":"https://github.com/HENNGE.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AWS Elastic Container Service (ECS) Terraform module\n\nTerraform module which creates ECS resources on AWS.\n\nThese types of resources are supported:\n\n* [ECS Cluster](https://github.com/HENNGE/terraform-aws-ecs)\n* [ECS Service](https://github.com/HENNGE/terraform-aws-ecs/tree/main/modules/core/service)\n* [ECS Task Definition](https://github.com/HENNGE/terraform-aws-ecs/tree/main/modules/core/task)\n* [ECS Autoscaling](https://github.com/HENNGE/terraform-aws-ecs/tree/main/modules/autoscaling)\n\nThe root module (this) only creates `ecs_cluster`, to create other resources, please instantiate the submodules.\n\n## Terraform versions\n\nSupports only Terraform ~\u003e 0.12.\n\nRequires Terraform AWS Provider version \u003e=5.85.0.\n\n## Usage\n\n```hcl\nmodule \"ecs_cluster\" {\n  source  = \"HENNGE/ecs/aws\"\n  version = \"1.0.0\"\n\n  name = \"${local.prefix}-cluster\"\n}\n```\n\n## Examples\n\nSee examples folder for usage guide.\n\n## Versioning\n\nThis module uses Semver.\n\n`x.y.z`\n\n`x` shall change when there's major language or breaking feature change (e.g. 0.11 to 0.12 which drastically change the language)\n\n`y` shall change when there's feature addition which is not breaking existing API (e.g. addition of some parameters with default value)\n\n`z` shall change when there's documentation updates, minor fixes, etc.\n\n\u003c!-- BEGIN_TF_DOCS --\u003e\n## Requirements\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"requirement_terraform\"\u003e\u003c/a\u003e [terraform](#requirement\\_terraform) | \u003e= 1.3 |\n| \u003ca name=\"requirement_aws\"\u003e\u003c/a\u003e [aws](#requirement\\_aws) | \u003e= 5.85.0 |\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"provider_aws\"\u003e\u003c/a\u003e [aws](#provider\\_aws) | \u003e= 5.85.0 |\n\n## Modules\n\nNo modules.\n\n## Resources\n\n| Name | Type |\n|------|------|\n| [aws_ecs_cluster.main](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ecs_cluster) | resource |\n| [aws_ecs_cluster_capacity_providers.main](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ecs_cluster_capacity_providers) | resource |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_capacity_providers\"\u003e\u003c/a\u003e [capacity\\_providers](#input\\_capacity\\_providers) | List of short names or full Amazon Resource Names (ARNs) of one or more capacity providers to associate with the cluster. Valid values also include `FARGATE` and `FARGATE_SPOT`. | `list(string)` | `null` | no |\n| \u003ca name=\"input_container_insights_enhanced\"\u003e\u003c/a\u003e [container\\_insights\\_enhanced](#input\\_container\\_insights\\_enhanced) | Use container insights with enhanced observability. | `bool` | `false` | no |\n| \u003ca name=\"input_default_capacity_provider_strategy\"\u003e\u003c/a\u003e [default\\_capacity\\_provider\\_strategy](#input\\_default\\_capacity\\_provider\\_strategy) | The capacity provider strategy to use by default for the cluster. Can be one or more. List of map with corresponding items in docs. [Terraform Docs](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ecs_cluster#default_capacity_provider_strategy) | `list(any)` | `[]` | no |\n| \u003ca name=\"input_enable_container_insights\"\u003e\u003c/a\u003e [enable\\_container\\_insights](#input\\_enable\\_container\\_insights) | Enable container insights. | `bool` | `false` | no |\n| \u003ca name=\"input_execute_command_configuration\"\u003e\u003c/a\u003e [execute\\_command\\_configuration](#input\\_execute\\_command\\_configuration) | Map with execute command configuration. [Terraform Docs](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ecs_cluster#execute_command_configuration) | `any` | `null` | no |\n| \u003ca name=\"input_name\"\u003e\u003c/a\u003e [name](#input\\_name) | Cluster name. | `string` | n/a | yes |\n| \u003ca name=\"input_settings\"\u003e\u003c/a\u003e [settings](#input\\_settings) | List of maps with cluster settings. For example, this can be used to enable CloudWatch Container Insights for a cluster. [Terraform Docs](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ecs_cluster#setting) | `list(any)` | `[]` | no |\n| \u003ca name=\"input_tags\"\u003e\u003c/a\u003e [tags](#input\\_tags) | Key-value mapping of resource tags. | `map(string)` | `{}` | no |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_arn\"\u003e\u003c/a\u003e [arn](#output\\_arn) | ARN of the generated cluster |\n| \u003ca name=\"output_name\"\u003e\u003c/a\u003e [name](#output\\_name) | Name of the Cluster |\n\u003c!-- END_TF_DOCS --\u003e\n\n\n## Authors\n\nModule managed by [HENNGE](https://github.com/HENNGE).\n\n## License\n\nApache 2 Licensed. See LICENSE for full details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhennge%2Fterraform-aws-ecs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhennge%2Fterraform-aws-ecs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhennge%2Fterraform-aws-ecs/lists"}