{"id":16687597,"url":"https://github.com/pei0804/terraform-template","last_synced_at":"2026-04-01T23:39:21.722Z","repository":{"id":139121053,"uuid":"262695482","full_name":"pei0804/terraform-template","owner":"pei0804","description":null,"archived":false,"fork":false,"pushed_at":"2020-05-22T09:12:17.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-27T23:42:36.751Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Makefile","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/pei0804.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":"2020-05-10T02:13:53.000Z","updated_at":"2020-05-22T09:12:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"3ddac35a-c909-4c12-ace7-8a1400ac1cfa","html_url":"https://github.com/pei0804/terraform-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/pei0804/terraform-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pei0804%2Fterraform-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pei0804%2Fterraform-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pei0804%2Fterraform-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pei0804%2Fterraform-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pei0804","download_url":"https://codeload.github.com/pei0804/terraform-template/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pei0804%2Fterraform-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31292997,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T21:15:39.731Z","status":"ssl_error","status_checked_at":"2026-04-01T21:15:34.046Z","response_time":53,"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-10-12T15:24:22.844Z","updated_at":"2026-04-01T23:39:21.684Z","avatar_url":"https://github.com/pei0804.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Getting Started\n\ntfstateを置くバケットを作成します（既存のものがあればやらなくてもOK）  \nCLIで作る場合は、お好みのバージョンを使ってください。  \n筆者はPCに入ってたCLIでバケットを作成しました。\n\n```\n❯ aws --version\naws-cli/1.18.56 Python/3.7.0 Darwin/17.7.0 botocore/1.16.6\n❯ aws s3api create-bucket --bucket pei-sandbox-tfstate --create-bucket-configuration LocationConstraint=ap-northeast-1\n{\n    \"Location\": \"http://pei-sandbox-tfstate.s3.amazonaws.com/\"\n}\n```\n\n[Makefileのパラメーターをいじる](./Makefile)\n\n作成したバケット名に変更する\n\n```\nTFSTATE_BUCKET := pei-sandbox-tfstate\n```\n\nプロファイルを設定してください。 `~/.aws/config`  \n私の場合は、peiというプロファイルを作成していたので、`pei`とします。\n\n```\nAWS_PROFILE := pei\n```\n\n特にプロファイルの設定をしてない場合はdefaultで動きます\n\n```\nAWS_PROFILE := default\n```\n\n設定を適用\n\n```\n❯ make plan SCOPE=example/ #良さそうならapplyもしよう\n❯ make apply SCOPE=example/\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpei0804%2Fterraform-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpei0804%2Fterraform-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpei0804%2Fterraform-template/lists"}