{"id":16143130,"url":"https://github.com/johnbedeir/awspect","last_synced_at":"2025-07-17T00:06:03.651Z","repository":{"id":238607234,"uuid":"796980294","full_name":"johnbedeir/awspect","owner":"johnbedeir","description":"This tool is designed to interact with AWS and list 12 of AWS resources such as EC2 instances, S3 buckets, IAM users, and more. It provides a web interface where users can select which resources they want to view.","archived":false,"fork":false,"pushed_at":"2024-05-08T18:19:59.000Z","size":306,"stargazers_count":3,"open_issues_count":4,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T17:53:00.945Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","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/johnbedeir.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-05-07T01:24:19.000Z","updated_at":"2024-11-05T05:27:55.000Z","dependencies_parsed_at":"2024-12-12T20:01:42.886Z","dependency_job_id":null,"html_url":"https://github.com/johnbedeir/awspect","commit_stats":null,"previous_names":["johnbedeir/awspect"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/johnbedeir/awspect","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnbedeir%2Fawspect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnbedeir%2Fawspect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnbedeir%2Fawspect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnbedeir%2Fawspect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johnbedeir","download_url":"https://codeload.github.com/johnbedeir/awspect/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnbedeir%2Fawspect/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265553066,"owners_count":23787021,"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":[],"created_at":"2024-10-10T00:08:41.997Z","updated_at":"2025-07-17T00:06:03.623Z","avatar_url":"https://github.com/johnbedeir.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AWS Resource Discovery\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"static/images/logo.png\" alt=\"AWSPECT Logo\" width=200px\u003e\n\u003c/p\u003e\n\nThis tool is designed to interact with AWS and list resources such as EC2 instances, S3 buckets, IAM users, and more. It provides a web interface where users can select which resources they want to view.\n\n## Features\n\n- List AWS resources\n- Interactive web interface and a Terminal-Based Version\n- Supports multiple AWS profiles\n\nThis AWSPECT app is particularly crucial for [Terraform](terraform.io) users, especially when they face issues like a lost or corrupted `tfstate` file. This file is essential as it tracks the state of AWS resources managed by Terraform. Losing this file can leave users without clear insight into their AWS environments.\n\n**Key Benefits:**\n\n1. **Resource Synchronization:** Helps identify and reconcile AWS resources if the Terraform state is lost, ensuring accurate infrastructure management.\n2. **Visibility and Audit:** Provides an independent check on AWS resources, which is essential for compliance and cost management.\n3. **Disaster Recovery:** Assists in quickly identifying active AWS resources, facilitating faster recovery operations.\n4. **Verification of Infrastructure Changes:** Verifies that Terraform changes have been properly implemented in AWS, adding an extra layer of assurance.\n\n## Prerequisites\n\nBefore you begin, ensure you have the following:\n\n- Python 3.6 or higher\n- pip3\n- AWS CLI installed and configured (optional, for testing AWS credentials locally)\n\n## Installation\n\nFollow these steps to get your development environment set up:\n\n1. **Clone the repository**\n\n   ```bash\n   git clone https://github.com/yourusername/awspect.git\n   cd awspect\n   ```\n\n2. **Set up a Python virtual environment (recommended)**\n\n   ```bash\n   python -m venv venv\n   source venv/bin/activate  # On Windows use `venv\\Scripts\\activate`\n   ```\n\n3. **Install the requirements**\n\n   ```bash\n   pip3 install -r requirements.txt\n   ```\n\n4. **Set up AWS Credentials**\n\n   Make sure your AWS credentials are configured. If you haven't done so, run:\n\n   ```bash\n   aws configure\n   ```\n\n   This will prompt you to enter your AWS Access Key ID, Secret Access Key, region, and output format.\n\n## Configuration\n\nThe tool uses the default AWS profile by default. You can set a different profile by modifying the `.env` file:\n\n```python\nAWS_PROFILE=default\n```\n\n## Usage\n\n```bash\npython3 awspect-web.py\n```\n\nVisit `http://127.0.0.1:5000/` in your web browser to use the tool.\n\nSelect the resources or select all:\n\u003cimg src=\"templates/images/1.png\"\u003e\n\nView the available resources:\n\u003cimg src=\"templates/images/2.png\"\u003e\n\nCompare the results:\n\u003cimg src=\"templates/images/3.png\"\u003e\n\n---\n\n`NOTE:If you prefer to use the terminal-based version of this application, follow the instructions below:`\n\n## Running the Terminal-Based Version\n\nThis version of the application allows you to discover and list AWS resources directly within your terminal. Execute the following command to run it:\n\n```bash\npython3 awspect-terminal.py\n```\n\nThis command launches the script that interacts with AWS to retrieve and display resources in the command line interface.\n\n\u003cimg src=\"templates/images/4.png\"\u003e\n\n## Contributing\n\nContributions are welcome! Feel free to open pull requests or issues in the GitHub repository.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnbedeir%2Fawspect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnbedeir%2Fawspect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnbedeir%2Fawspect/lists"}