{"id":20194992,"url":"https://github.com/mich0232/template-aws-python-microservice","last_synced_at":"2026-03-19T14:29:28.835Z","repository":{"id":154750521,"uuid":"619239317","full_name":"Mich0232/template-aws-python-microservice","owner":"Mich0232","description":"Template repository for Python microservice with AWS infrastructure","archived":false,"fork":false,"pushed_at":"2023-07-12T11:20:07.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-03T07:46:20.183Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HCL","has_issues":false,"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/Mich0232.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":"2023-03-26T17:11:43.000Z","updated_at":"2023-07-11T22:52:50.000Z","dependencies_parsed_at":"2025-01-18T04:02:09.308Z","dependency_job_id":null,"html_url":"https://github.com/Mich0232/template-aws-python-microservice","commit_stats":null,"previous_names":[],"tags_count":3,"template":true,"template_full_name":null,"purl":"pkg:github/Mich0232/template-aws-python-microservice","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mich0232%2Ftemplate-aws-python-microservice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mich0232%2Ftemplate-aws-python-microservice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mich0232%2Ftemplate-aws-python-microservice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mich0232%2Ftemplate-aws-python-microservice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mich0232","download_url":"https://codeload.github.com/Mich0232/template-aws-python-microservice/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mich0232%2Ftemplate-aws-python-microservice/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30098097,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T22:49:54.894Z","status":"ssl_error","status_checked_at":"2026-03-04T22:49:48.883Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-11-14T04:15:16.858Z","updated_at":"2026-03-04T23:02:25.780Z","avatar_url":"https://github.com/Mich0232.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Template Repository: AWS Lambda microservice\n\n### Tools\n\n|         | Application | IaaC        |\n|---------|-------------|-------------|\n| Tool    | Python      | Terraform   |\n| Version | 3.9         | 1.5.2 (AWS) |\n\n\n### Setup\nThe goal of this template is to provide:\n - python linters setup (black, isort, flake8) using pre-commit\n - python microservice structure using [aws_lambda_powertools](https://github.com/aws-powertools/powertools-lambda-python)\n - testing setup using pytest\n - Cloud infrastructure (AWS) using IaaC (Terraform)\n - Terraform linters\n - Github Actions workflows to run tests, linters and execute Terraform \n\n\n### Usage\n\nClone the repository to your local machine.\n\n#### Python setup\n\nCreate a virtual environment\n\n```shell\npython -v venv .venv\nsource .venv/bin/active\n```\n\nInstall dependencies:\n\n```shell\npython -m pip install -r requirements-dev.txt\n```\n\n#### Pre-commit\n\n```shell\npre-commit install\npre-commit run --all-files\n```\n\nThis will run black, flake8, mypy, and Terraform linters on all files in the repository.\n\n\n#### Terraform setup\n\nNavigate to the infra/terraform directory and run terraform init to initialize the Terraform configuration.\n\n```shell\ncd infra/terraform\nterraform init\n```\n\nThese commands will create the infrastructure specified in the Terraform configuration.\n\n```shell\nterraform plan\nterraform apply\n```\n\nRun pre-commit for the Terraform configuration\n\nInstall tflint: https://github.com/terraform-linters/tflint\n\n```shell\npre-commit run -a terraform\n```\n\n\n### Testing\n\nTo run the tests, you can use the following command:\n\n```shell\npytest\n```\n\nYou can also use the -v option to get more detailed output:\n\n```shell\npytest -v\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmich0232%2Ftemplate-aws-python-microservice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmich0232%2Ftemplate-aws-python-microservice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmich0232%2Ftemplate-aws-python-microservice/lists"}