{"id":17204506,"url":"https://github.com/bboure/aws-ecs-task-definition","last_synced_at":"2026-04-16T00:31:31.524Z","repository":{"id":88814034,"uuid":"196246021","full_name":"bboure/aws-ecs-task-definition","owner":"bboure","description":"A Serverless Component to deploy ECS Task Definitions in minutes","archived":false,"fork":false,"pushed_at":"2019-07-10T17:16:23.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-25T09:49:48.315Z","etag":null,"topics":["aws","ecs","serverless","serverless-components"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bboure.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-07-10T17:13:02.000Z","updated_at":"2019-12-30T12:15:12.000Z","dependencies_parsed_at":"2023-03-24T00:47:41.142Z","dependency_job_id":null,"html_url":"https://github.com/bboure/aws-ecs-task-definition","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/bboure/aws-ecs-task-definition","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bboure%2Faws-ecs-task-definition","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bboure%2Faws-ecs-task-definition/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bboure%2Faws-ecs-task-definition/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bboure%2Faws-ecs-task-definition/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bboure","download_url":"https://codeload.github.com/bboure/aws-ecs-task-definition/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bboure%2Faws-ecs-task-definition/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31866233,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"ssl_error","status_checked_at":"2026-04-15T15:24:39.138Z","response_time":63,"last_error":"SSL_read: 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","ecs","serverless","serverless-components"],"created_at":"2024-10-15T02:22:12.846Z","updated_at":"2026-04-16T00:31:31.501Z","avatar_url":"https://github.com/bboure.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# awsEcsTaskDefinition\n\nDeploy an AWS ECS Task Definition using [Serverless Component](https://github.com/serverless/components)\n\n\u0026nbsp;\n\n1. [Install](#1-install)\n2. [Create](#2-create)\n3. [Configure](#3-configure)\n4. [Deploy](#4-deploy)\n\n\u0026nbsp;\n\n### 1. Install\n\n```console\n$ npm install -g @serverless/cli\n```\n\n### 2. Create\n\n```console\n$ touch serverless.yml .env .env.prod\n```\n\nThe directory should look something like this:\n\n```\n|- serverless.yml\n|- .env         # your development AWS api keys\n|- .env.prod    # your production AWS api keys\n```\n\nthe `.env` files are not required if you have the aws keys set globally and you want to use a single stage, but they should look like this.\n\n```\nAWS_ACCESS_KEY_ID=XXX\nAWS_SECRET_ACCESS_KEY=XXX\n```\n\n### 3. Configure\n\n```yml\n# serverless.yml\n\nname: my-component\nstage: dev\n\nelasticSearch:\n  component: \"@bboure/aws-ecs-task-definition\"\n  inputs:\n    region: ${region}\n    taskDefinition:\n      family: my-task\n      cpu: \"1024\"\n      memory: \"2048\"\n      volumes:\n          - name: foo\n            host:\n              sourcePath: /home/foo\n          - name: bar\n            host:\n              sourcePath: /home/bar\n      containerDefinitions:\n          - name: myContainer\n            portMappings:\n              - hostPort: 80\n                containerPort: 80\n                protocol: tcp\n            cpu: 0\n            environment:\n              - name: FOO\n                value: BAR\n            mountPoints:\n              - containerPath: /var/www/foo\n                sourceVolume: foo\n              - containerPath: /var/www/bar\n                sourceVolume: bar\n            memory: 768\n            image: alpine:latest\n            essential: true\n```\n\n### 4. Deploy\n\n```console\n  $ components\n\n  AwsEcsTaskDefinition:\n  region: eu-west-1\n  family: my-task\n  arn:    arn:aws:ecs:eu-west-1:955509148573:task-definition/my-task:1\n\n0s › AwsEcsTaskDefinition › done\n```\n\n\u0026nbsp;\n\n### New to Components?\n\nCheckout the [Serverless Components](https://github.com/serverless/components) repo for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbboure%2Faws-ecs-task-definition","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbboure%2Faws-ecs-task-definition","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbboure%2Faws-ecs-task-definition/lists"}