{"id":15007739,"url":"https://github.com/iminde09/cloud-resource-logger","last_synced_at":"2026-03-07T05:06:57.472Z","repository":{"id":255040015,"uuid":"848358885","full_name":"imInde09/cloud-resource-logger","owner":"imInde09","description":"cloud-resource-logger is a CLI tool for listing AWS resources such as EC2 instances, S3 buckets, Lambda functions, and DynamoDB tables. It prompts for AWS credentials and displays information about the specified resources.","archived":false,"fork":false,"pushed_at":"2024-10-24T02:17:13.000Z","size":583,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-24T18:51:31.778Z","etag":null,"topics":["cloud","dynamodb","ec2","logger","npm-package","rds","rds-database","resources"],"latest_commit_sha":null,"homepage":"https://iminde09.github.io/cloud-resource-logger/","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/imInde09.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":"2024-08-27T16:06:58.000Z","updated_at":"2024-10-24T02:17:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"424619f7-d287-4715-98e5-57fa8bff64c7","html_url":"https://github.com/imInde09/cloud-resource-logger","commit_stats":null,"previous_names":["iminde09/cloud-resource-logger"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imInde09%2Fcloud-resource-logger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imInde09%2Fcloud-resource-logger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imInde09%2Fcloud-resource-logger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imInde09%2Fcloud-resource-logger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imInde09","download_url":"https://codeload.github.com/imInde09/cloud-resource-logger/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238960836,"owners_count":19559353,"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":["cloud","dynamodb","ec2","logger","npm-package","rds","rds-database","resources"],"created_at":"2024-09-24T19:13:38.613Z","updated_at":"2026-03-07T05:06:57.445Z","avatar_url":"https://github.com/imInde09.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Cloud-Resource-Logger\n\n**cloud-resource-logger** is a CLI tool for listing AWS resources such as EC2 instances, S3 buckets, Lambda functions, and DynamoDB tables. It prompts for AWS credentials and displays information about the specified resources.\n\n## Download Statistics\n\n![Total Downloads](https://img.shields.io/badge/total_downloads-1660-blue)\n![Downloads This Week](https://img.shields.io/badge/this_week-0-green)\n![Downloads Last Month](https://img.shields.io/badge/last_month-28-yellow)\n\n## Installation\n\nTo install `cloud-resource-logger`, you can use npm. For global installation, run:\n\n```bash\nnpm install -g cloud-resource-logger\n```\n\n## NPM Package\n\nYou can find the `cloud-resource-logger` package on npm at the following link:\n\n[NPM Package: cloud-resource-logger](https://www.npmjs.com/package/cloud-resource-logger)\n\n## Usage\n\nTo use `cloud-resource-logger`, you'll need to provide AWS credentials and specify the service you want to query.\n\n### Start Environment\n\nTo start the environment and save AWS credentials, use the following command:\n\n```bash\ncloud-resource-logger start\n```\n\nThis command will prompt you to enter your AWS credentials and save them for use with subsequent commands.\n\n### Stop Environment\n\nTo stop the environment and remove saved AWS credentials, use the following command:\n\n```bash\ncloud-resource-logger stop\n```\n\nThis command will remove the saved credentials, ensuring that subsequent commands prompt for credentials again.\n\n### List EC2 Instances\n\nTo list all EC2 instances, use the following command:\n\n```bash\ncloud-resource-logger list --service ec2\n```\n\n### List S3 Buckets\n\nTo list all S3 buckets, use the following command:\n\n```bash\ncloud-resource-logger list --service s3\n```\n\n### List Lambda Functions\n\nTo list all Lambda functions, use the following command:\n\n```bash\ncloud-resource-logger list --service lambda\n```\n\n### List DynamoDB Tables\n\nTo list all DynamoDB tables, use the following command:\n\n```bash\ncloud-resource-logger list --service dynamodb\n```\n\n### List IAM Users and Policies\n\nTo list IAM users and their attached policies, use the following command:\n\n```bash\ncloud-resource-logger list --service iam\n```\n\nThis will print all IAM users along with their attached policies.\n\n### List RDS Instances\n\nTo list RDS instance details, use the following command:\n\n```bash\ncloud-resource-logger list --service rds\n```\n\nThis will print information about available RDS instances, clusters, and other related details.\n\n### List ECS Clusters\n\nTo list ECS clusters, use the following command:\n\n```bash\ncloud-resource-logger list --service ecs\n```\n\n### List EKS Clusters\n\nTo list EKS clusters, use the following command:\n\n```bash\ncloud-resource-logger list --service eks\n```\n\n### List CloudWatch Alarms\n\nTo list CloudWatch alarms, use the following command:\n\n```bash\ncloud-resource-logger list --service cloudwatch\n```\n\n### List CloudFormation Stacks\n\nTo list CloudFormation stacks, use the following command:\n\n```bash\ncloud-resource-logger list --service cloudformation\n```\n\n### List Route 53 Hosted Zones\n\nTo list Route 53 hosted zones, use the following command:\n\n```bash\ncloud-resource-logger list --service route53\n```\n\n### List SNS Topics\n\nTo list SNS topics, use the following command:\n\n```bash\ncloud-resource-logger list --service sns\n```\n\n### List SES Identities\n\nTo list SES identities, use the following command:\n\n```bash\ncloud-resource-logger list --service ses\n```\n\n### List Load Balancers\n\nTo list load balancers, use the following command:\n\n```bash\ncloud-resource-logger list --service elb\n```\n\n### List Kinesis Streams\n\nTo list Kinesis streams, use the following command:\n\n```bash\ncloud-resource-logger list --service kinesis\n```\n\n## Commands\n\n- `start`: Start the environment and save AWS credentials.\n- `stop`: Stop the environment and remove saved AWS credentials.\n- `list --service \u003cservice\u003e`: Specify the AWS service you want to query. Valid options are:\n  - `ec2` - Lists all EC2 instances.\n  - `s3` - Lists all S3 buckets.\n  - `lambda` - Lists all Lambda functions.\n  - `dynamodb` - Lists all DynamoDB tables.\n  - `iam` - Lists IAM users and their attached policies.\n  - `rds` - Lists RDS instances and clusters.\n  - `ecs` - Lists ECS clusters.\n  - `eks` - Lists EKS clusters.\n  - `cloudwatch` - Lists CloudWatch alarms.\n  - `cloudformation` - Lists CloudFormation stacks.\n  - `route53` - Lists Route 53 hosted zones.\n  - `sns` - Lists SNS topics.\n  - `ses` - Lists SES identities.\n  - `elb` - Lists load balancers.\n  - `kinesis` - Lists Kinesis streams.\n\n- `help`: Show this help message.\n\n## Example\n\n```bash\n$ cloud-resource-logger start\nEnter AWS Access Key ID: [Your Access Key ID]\nEnter AWS Secret Access Key: [Your Secret Access Key]\nEnter AWS Region: [Your AWS Region]\n\nEnvironment started and AWS credentials saved.\n\n$ cloud-resource-logger list --service ec2\nActive EC2 Instances:\n[ ... list of instances ... ]\n\n$ cloud-resource-logger list --service s3\nS3 Buckets:\n[ ... list of buckets ... ]\n\n$ cloud-resource-logger list --service iam\nIAM Users and Policies:\n[ ... list of users and attached policies ... ]\n\n$ cloud-resource-logger list --service rds\nRDS Instances:\n[ ... list of RDS instances ... ]\n\n$ cloud-resource-logger list --service ecs\nECS Clusters:\n[ ... list of ECS clusters ... ]\n\n$ cloud-resource-logger list --service eks\nEKS Clusters:\n[ ... list of EKS clusters ... ]\n\n$ cloud-resource-logger list --service cloudwatch\nCloudWatch Alarms:\n[ ... list of alarms ... ]\n\n$ cloud-resource-logger list --service cloudformation\nCloudFormation Stacks:\n[ ... list of stacks ... ]\n\n$ cloud-resource-logger list --service route53\nRoute 53 Hosted Zones:\n[ ... list of hosted zones ... ]\n\n$ cloud-resource-logger list --service sns\nSNS Topics:\n[ ... list of topics ... ]\n\n$ cloud-resource-logger list --service ses\nSES Identities:\n[ ... list of identities ... ]\n\n$ cloud-resource-logger list --service elb\nLoad Balancers:\n[ ... list of load balancers ... ]\n\n$ cloud-resource-logger list --service kinesis\nKinesis Streams:\n[ ... list of streams ... ]\n\n$ cloud-resource-logger stop\nEnvironment stopped and AWS credentials removed.\n```\n\n## Configuration\n\nYou will be prompted to enter the following AWS credentials:\n\n- **AWS Access Key ID**\n- **AWS Secret Access Key**\n- **AWS Region**\n\nThese credentials are used to authenticate with AWS and fetch the relevant resource information.\n\n## Contributing\n\nFeel free to contribute to the project by opening issues or submitting pull requests. [See contributing guidelines](./CONTRIBUTE.md)\n\n## Contact\n\nFor any questions or feedback, please reach out to Prathamesh Inde at \u003cprathameshinde86@gmail.com\u003e.\n\n## Key Sections Included\n\n- **Installation**: How to install the CLI tool.\n- **Usage**: Instructions on how to use the tool with example commands.\n- **Commands**: Detailed description of the available commands and their options.\n- **Example**: Example usage of the commands.\n- **Configuration**: Explanation of what credentials are required.\n- **License**: Information about the license.\n- **Contributing**: Instructions for contributing to the project. [See contributing guidelines](./CONTRIBUTE.md)\n- **Contact**: How to contact you for support or feedback.\n\n## File Structure and Functionality\n\nFor a detailed overview of the source code, including the file structure and functionality of each component, refer to the [File Structure](./FILESTRUCTURE.md).\n\n---\nLet me know if there are any further changes you’d like!\n\nThank you for using `cloud-resource-logger`!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiminde09%2Fcloud-resource-logger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiminde09%2Fcloud-resource-logger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiminde09%2Fcloud-resource-logger/lists"}