{"id":19208591,"url":"https://github.com/heiwa4126/terraform-apigw-ex2-openapi","last_synced_at":"2026-05-16T00:07:25.965Z","repository":{"id":111911657,"uuid":"508598627","full_name":"heiwa4126/terraform-apigw-ex2-openapi","owner":"heiwa4126","description":"TerraformでAWS Lambda (Python) \u0026 API Gateway (powered by OpenAPI) のサンプル","archived":false,"fork":false,"pushed_at":"2022-06-29T07:58:04.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-04T16:18:37.159Z","etag":null,"topics":["aws-api-gateway","aws-lambda","example","openapi","terraform"],"latest_commit_sha":null,"homepage":"","language":"HCL","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/heiwa4126.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":"2022-06-29T07:56:08.000Z","updated_at":"2022-06-29T07:57:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"fc3260c5-594d-43e4-b7c6-1077d8486c5f","html_url":"https://github.com/heiwa4126/terraform-apigw-ex2-openapi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heiwa4126%2Fterraform-apigw-ex2-openapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heiwa4126%2Fterraform-apigw-ex2-openapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heiwa4126%2Fterraform-apigw-ex2-openapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heiwa4126%2Fterraform-apigw-ex2-openapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/heiwa4126","download_url":"https://codeload.github.com/heiwa4126/terraform-apigw-ex2-openapi/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240280984,"owners_count":19776418,"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-api-gateway","aws-lambda","example","openapi","terraform"],"created_at":"2024-11-09T13:27:07.325Z","updated_at":"2025-11-14T00:03:04.523Z","avatar_url":"https://github.com/heiwa4126.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# terraform-apigw-ex2-openapi\n\nTerraformでAWS Lambda (Python) \u0026 API Gateway (powered by OpenAPI) のサンプル。\n\nAWS SAMのテンプレート\"hello world\"との比較用。同等の使いごこちを目指す(debugはないけど)。\nわざと1個のhclにしてある。モジュールにできるところいっぱいあるけど理解優先。\nまたbackendもlocalのまま。\n\nrequirements.txtをサポートする。\n\n\n# いるもの\n\n- Terraform 1.2以上\n- Python 3.9と3.9のpip (バージョンはvariableで変更可能)\n- Python 3.9が `$ python3.9` で実行できること。\n\n\n# デプロイ\n\n```bash\ncp terraform.tfvars- terraform.tfvars\nvim terraform.tfvars  # 環境に合わせて編集\nterraform init\nterraform apply\n```\n\noutputに `hello_url` が出るので、これをcurlなりブラウザなりで呼ぶ。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheiwa4126%2Fterraform-apigw-ex2-openapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheiwa4126%2Fterraform-apigw-ex2-openapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheiwa4126%2Fterraform-apigw-ex2-openapi/lists"}