{"id":19717118,"url":"https://github.com/xsalazar/terraform-aws-docker-deploy","last_synced_at":"2025-04-29T20:30:51.827Z","repository":{"id":37055177,"uuid":"338685101","full_name":"xsalazar/terraform-aws-docker-deploy","owner":"xsalazar","description":"🍳 This repository holds simple boilerplate code to deploy a basic Typescript API application within a Fargate-managed ECS cluster. This repository also leverages GitHub Actions to lay the CI/CD groundwork to automatically deploy application changes to ECR and redeploy the ECS cluster with updates.","archived":false,"fork":false,"pushed_at":"2025-04-23T23:24:50.000Z","size":784,"stargazers_count":9,"open_issues_count":0,"forks_count":5,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-24T00:27:00.667Z","etag":null,"topics":["aws","docker","ecs","fargate","github-actions","terraform","typescript"],"latest_commit_sha":null,"homepage":"","language":"HCL","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/xsalazar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"xsalazar"}},"created_at":"2021-02-13T22:44:32.000Z","updated_at":"2025-04-23T23:24:52.000Z","dependencies_parsed_at":"2023-02-14T02:15:21.078Z","dependency_job_id":"c65b81e7-179d-4d5f-bb43-f8619c7d93ef","html_url":"https://github.com/xsalazar/terraform-aws-docker-deploy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xsalazar%2Fterraform-aws-docker-deploy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xsalazar%2Fterraform-aws-docker-deploy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xsalazar%2Fterraform-aws-docker-deploy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xsalazar%2Fterraform-aws-docker-deploy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xsalazar","download_url":"https://codeload.github.com/xsalazar/terraform-aws-docker-deploy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251578309,"owners_count":21612013,"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","docker","ecs","fargate","github-actions","terraform","typescript"],"created_at":"2024-11-11T22:44:43.466Z","updated_at":"2025-04-29T20:30:51.802Z","avatar_url":"https://github.com/xsalazar.png","language":"HCL","funding_links":["https://github.com/sponsors/xsalazar"],"categories":[],"sub_categories":[],"readme":"# Terraform/AWS Docker Deploy to Fargate\n\nThis repository holds simple boilerplate code to deploy a basic Typescript API application within a Fargate-managed ECS cluster.\nThis repository also leverages GitHub Actions to lay the CI/CD groundwork to automatically deploy application changes to ECR and redeploy the ECS cluster with updates.\n\n## Installation\n\n### Application\n\nThe Typescript application code lives in the [`app/`](app/) subdirectory. This application is built using `node` v18.\n\n```bash\ncd app/\nnpm ci \u0026\u0026 npm start\n```\n\n### Infrastructure\n\nThe required `terraform` version for this repository is v1.10.2. The architecture built from this code is below.\n\n![](assets/architecture/architecture.svg)\n\n## Usage\n\nThis repository is meant to be managed through GitHub Action as the main CI/CD pipeline.\n\nThe initial bootstrapping should be done by running the [bootstrap](.github/workflows/bootstrap.yml) workflow. This will initialize the ECR registry, push the initial Docker image, and then apply the remaining infrastructure, deploying the Docker image to ECS.\n\nSubsequent changes can be applied by running the [push_to_ecr](.github/workflows/push_to_ecr.yml) workflow.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxsalazar%2Fterraform-aws-docker-deploy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxsalazar%2Fterraform-aws-docker-deploy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxsalazar%2Fterraform-aws-docker-deploy/lists"}