{"id":21768982,"url":"https://github.com/dev-ayushtrivedi/aws-resource-tracker","last_synced_at":"2025-07-19T06:32:23.966Z","repository":{"id":264832817,"uuid":"894410095","full_name":"Dev-AyushTrivedi/AWS-Resource-Tracker","owner":"Dev-AyushTrivedi","description":"A Basic script, designed to help to easily track and list AWS resources including EC2 instances, S3 buckets, Lambda functions, and IAM users. ","archived":false,"fork":false,"pushed_at":"2024-11-26T10:41:40.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-26T11:24:33.385Z","etag":null,"topics":["aws","aws-ec2","aws-iam","aws-lambda","aws-s3","bash-script","cloud","devops","shell-script"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/Dev-AyushTrivedi.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":"2024-11-26T10:03:13.000Z","updated_at":"2024-11-26T10:43:43.000Z","dependencies_parsed_at":"2024-11-26T11:24:39.751Z","dependency_job_id":"bff2f4c3-f818-4140-b879-36fedf56ba9a","html_url":"https://github.com/Dev-AyushTrivedi/AWS-Resource-Tracker","commit_stats":null,"previous_names":["dev-ayushtrivedi/aws-resource-tracker"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dev-AyushTrivedi%2FAWS-Resource-Tracker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dev-AyushTrivedi%2FAWS-Resource-Tracker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dev-AyushTrivedi%2FAWS-Resource-Tracker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dev-AyushTrivedi%2FAWS-Resource-Tracker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dev-AyushTrivedi","download_url":"https://codeload.github.com/Dev-AyushTrivedi/AWS-Resource-Tracker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226555762,"owners_count":17650731,"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","aws-ec2","aws-iam","aws-lambda","aws-s3","bash-script","cloud","devops","shell-script"],"created_at":"2024-11-26T14:07:15.655Z","updated_at":"2024-11-26T14:07:16.542Z","avatar_url":"https://github.com/Dev-AyushTrivedi.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AWS Resource Tracker\n\nThis script is designed to help you easily track and list AWS resources including EC2 instances, S3 buckets, Lambda functions, and IAM users. All you need to do is run the script, and it will provide you with the details of these resources in your AWS account.\n\n## Prerequisites\n\nBefore using this script, ensure you have the following:\n\n1. **AWS CLI Installed**: Install the AWS CLI on your system if it is not already installed. Follow the [AWS CLI installation guide](https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html).\n\n2. **AWS CLI Configured**: Configure the AWS CLI with your access credentials and default region using:\n\n   ```bash\n   aws configure\n   ```\n\n3. **Execute Permissions**: Make sure the script has execute permissions. You can grant it using:\n\n   ```bash\n   chmod +x aws_resource_tracker.sh\n   ```\n\n4. **IAM Permissions**: Ensure the AWS credentials you are using have sufficient permissions to access EC2, S3, Lambda, and IAM resources.\n\n## Usage\n\n1. Clone the repository or download the script to your local machine:\n\n   ```bash\n   git clone https://github.com/Dev-AyushTrivedi/AWS-Resource-Tracker/tree/master\n   ```\n\n2. Run the script using the following command:\n\n   ```bash\n   ./aws_resource_tracker.sh\n   ```\n\n   Replace `script_name.sh` with the actual name of your script file.\n\n3. The script will output details of:\n   - **EC2 Instances**\n   - **S3 Buckets**\n   - **Lambda Functions**\n   - **IAM Users**\n\n## Example Output\n\nAfter running the script, you can expect an output like the following:\n\n```bash\nFetching EC2 Instances...\nInstance ID: i-0123456789abcdef\nInstance State: running\n...\n\nFetching S3 Buckets...\nBucket Name: my-bucket-1\nBucket Region: us-east-1\n...\n\nFetching Lambda Functions...\nFunction Name: my-lambda-function\nRuntime: Python 3.9\n...\n\nFetching IAM Users...\nUser Name: admin-user\nUser ARN: arn:aws:iam::123456789012:user/admin-user\n...\n```\n\n## Troubleshooting\n\n- **Permission Denied**: If you encounter a permission error, ensure the script has execute permissions (`chmod +x script_name.sh`).\n\n- **AWS CLI Errors**: Ensure your AWS CLI is configured correctly with valid credentials.\n\n- **Empty Output**: If no resources are listed, verify the account you are using contains the resources being queried and that your IAM permissions allow access.\n\n## Customization\n\nYou can modify the script to include additional AWS resources or filter the output further. Refer to the AWS CLI documentation for details on available commands and options: [AWS CLI Command Reference](https://docs.aws.amazon.com/cli/latest/reference/).\n\n## License\n\nThis script is open-source and available under the [MIT License](LICENSE).\n\n---\n\nHappy tracking!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev-ayushtrivedi%2Faws-resource-tracker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdev-ayushtrivedi%2Faws-resource-tracker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev-ayushtrivedi%2Faws-resource-tracker/lists"}