{"id":23394113,"url":"https://github.com/dineshgowda24/ecsnv","last_synced_at":"2025-10-25T01:43:21.324Z","repository":{"id":87504848,"uuid":"606751592","full_name":"dineshgowda24/ecsnv","owner":"dineshgowda24","description":"A lightweight utility to dump AWS Fargate's ECS containers environment variables locally","archived":false,"fork":false,"pushed_at":"2023-02-26T17:16:33.000Z","size":1395,"stargazers_count":30,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-15T23:21:02.207Z","etag":null,"topics":["aws","aws-sdk","cli","ecs-cluster","ecs-fargate","ecs-service","golang","golang-application","homebrew"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dineshgowda24.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":"2023-02-26T13:13:28.000Z","updated_at":"2024-04-29T22:05:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"a9f81e3a-573c-448d-9d9f-23223bf86bf7","html_url":"https://github.com/dineshgowda24/ecsnv","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/dineshgowda24/ecsnv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dineshgowda24%2Fecsnv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dineshgowda24%2Fecsnv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dineshgowda24%2Fecsnv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dineshgowda24%2Fecsnv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dineshgowda24","download_url":"https://codeload.github.com/dineshgowda24/ecsnv/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dineshgowda24%2Fecsnv/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280893651,"owners_count":26409279,"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","status":"online","status_checked_at":"2025-10-24T02:00:06.418Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","aws-sdk","cli","ecs-cluster","ecs-fargate","ecs-service","golang","golang-application","homebrew"],"created_at":"2024-12-22T06:12:37.600Z","updated_at":"2025-10-25T01:43:21.293Z","avatar_url":"https://github.com/dineshgowda24.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ecsnv\n\n[![GitHub go.mod Go version of a Go module](https://img.shields.io/github/go-mod/go-version/gomods/athens.svg)](https://github.com/gomods/athens)\n\nA lightweight utility to dump AWS Fargate's ECS containers environment variables locally\n\n## Motivation\n\nMore often than not, during the development cycle. I keep looking at my AWS ECS cluster and services to check what all environment\nvariables have been set. Some ENVs were not readily available in the project repository since they were configured as secrets in SSM's parameter store.\n\nWhile setting up an application or debugging some issue, I kept looking for env values for a set in different environments by logging in to the AWS console, which is painstakingly slow and hampers productivity.\n\nHence the tool.\n\n## Installation\n\n### Homebrew\n\n```shell\nbrew tap dineshgowda24/dineshgowda\nbrew install ecsnv\n```\n\n### Go\n\n```shell\ngo install github.com/dineshgowda24/ecsnv@latest\n```\n\n## Usage\n\n1. Fetching ENVs for a specific cluster and service\n\n    1. Prints locally in the shell\n\n    ```shell\n    ecsnv --cluster \u003ccluster_name\u003e --service \u003cservice_name\u003e\n    ```\n\n    2. Writes to a file\n\n    ```shell\n    ecsnv --cluster \u003ccluster_name\u003e --service \u003cservice_name\u003e --file \u003cfile_name\u003e\n    ```\n\n2. Fetching ENVs for a specific cluster and service from a particular profile\n\n    If a profile is not passed, then the default profile is used.\n\n     1. Prints locally in the shell\n\n    ```shell\n    ecsnv --cluster \u003ccluster_name\u003e --service \u003cservice_name\u003e --profile \u003caws_profile_name\u003e\n    ```\n\n    2. Writes to a file\n\n    ```shell\n    ecsnv --cluster \u003ccluster_name\u003e --service \u003cservice_name\u003e --file \u003cfile_name\u003e --profile \u003caws_profile_name\u003e\n    ```\n\n3. You can ignore the cluster or service name. The application will list all the clusters and services in the profile with an easy-to-use interactive shell.\n\n    1. Prints locally in the shell\n\n    ```shell\n    ecsnv\n    ```\n\n    2. Writes to a file\n\n    ```shell\n    ecsnv  --file \u003cfile_name\u003e\n    ```\n\n## Demo\n\n### Printing ENVs in terminal\n\n![](print.gif)\n\n### Writing ENVs to file\n\n![](write.gif)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdineshgowda24%2Fecsnv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdineshgowda24%2Fecsnv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdineshgowda24%2Fecsnv/lists"}