{"id":21755319,"url":"https://github.com/hiroxto/infrastructure","last_synced_at":"2026-05-15T23:38:51.773Z","repository":{"id":245147007,"uuid":"769042388","full_name":"hiroxto/infrastructure","owner":"hiroxto","description":"自宅サーバーとドメイン周りをTerraformでIaCにする","archived":false,"fork":false,"pushed_at":"2026-05-09T12:52:10.000Z","size":792,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-05-09T14:45:13.814Z","etag":null,"topics":["cloudflare","infrastructure-as-code","terraform"],"latest_commit_sha":null,"homepage":"","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/hiroxto.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2024-03-08T08:18:19.000Z","updated_at":"2026-05-09T12:51:44.000Z","dependencies_parsed_at":"2025-12-16T06:04:47.748Z","dependency_job_id":null,"html_url":"https://github.com/hiroxto/infrastructure","commit_stats":null,"previous_names":["hiroxto/infrastructure"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hiroxto/infrastructure","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroxto%2Finfrastructure","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroxto%2Finfrastructure/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroxto%2Finfrastructure/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroxto%2Finfrastructure/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hiroxto","download_url":"https://codeload.github.com/hiroxto/infrastructure/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroxto%2Finfrastructure/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33083764,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T20:25:35.270Z","status":"ssl_error","status_checked_at":"2026-05-15T20:25:34.732Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["cloudflare","infrastructure-as-code","terraform"],"created_at":"2024-11-26T09:17:34.208Z","updated_at":"2026-05-15T23:38:51.769Z","avatar_url":"https://github.com/hiroxto.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# infrastructure\n\nインフラ周りを Terraform で IaC にするプロジェクト。\n\n現状は Cloudflare 関連のみを管理しているが将来的には管理対象を増やす。\n\n管理対象\n- Cloudflare\n  - Cloudflare Registrar\n    - Record\n    - Email Routing\n  - Cloudflare Notifications\n  - Cloudflare Pages (一部プロジェクトのみ)\n  - Zero Trust\n  - その他 Terraform で扱えるリソース\n- New Relic\n  - 自宅サーバーと Cloudflare 関連のみ\n\nプルリクエスト作成後の plan や，マージ後の apply は自動的に Terraform Cloud で実行される。\n\n## 管理しているドメイン\n\nこのプロジェクトでは以下のドメインを管理している。\n\n- hiroxto.net\n\n## セットアップ\n\n### Terraform をインストール\n\nmise を使用して Terraform をインストールする。\n\n```bash\nmise install\n```\n\n### Terraform Cloud にログイン\n\nBackend に Terraform Cloud を使っているため，Terraform Cloud へのログインを行う。\n\n```bash\nterraform login\n```\n\n### ローカルで実行したい場合: secrets.auto.tfvars を設定\n\nplan の実行に Terraform Cloud を使わず一時的にローカルで実行したい場合は， secrets.auto.tfvars.example を secrets.auto.tfvars へコピーし，各種変数を設定する。\n\n\u003e [!NOTE]\n\u003e 開発中でも plan は Terraform Cloud で実行されるため，基本的にこの設定は不要。\n\n```bash\ncp secrets.auto.tfvars.example secrets.auto.tfvars\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiroxto%2Finfrastructure","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhiroxto%2Finfrastructure","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiroxto%2Finfrastructure/lists"}