{"id":22808024,"url":"https://github.com/tutortoise/infrastructure","last_synced_at":"2025-03-30T20:52:42.884Z","repository":{"id":267765644,"uuid":"894356273","full_name":"Tutortoise/infrastructure","owner":"Tutortoise","description":"Infrastructure as Code for Tutortoise App","archived":false,"fork":false,"pushed_at":"2024-12-13T09:13:32.000Z","size":41,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T20:52:37.402Z","etag":null,"topics":["infrastructure","infrastructure-as-code","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/Tutortoise.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-11-26T08:05:23.000Z","updated_at":"2024-12-13T09:13:36.000Z","dependencies_parsed_at":"2024-12-12T10:33:06.187Z","dependency_job_id":null,"html_url":"https://github.com/Tutortoise/infrastructure","commit_stats":null,"previous_names":["tutortoise/infrastructure"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tutortoise%2Finfrastructure","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tutortoise%2Finfrastructure/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tutortoise%2Finfrastructure/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tutortoise%2Finfrastructure/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Tutortoise","download_url":"https://codeload.github.com/Tutortoise/infrastructure/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246379379,"owners_count":20767696,"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":["infrastructure","infrastructure-as-code","terraform"],"created_at":"2024-12-12T11:07:38.771Z","updated_at":"2025-03-30T20:52:42.859Z","avatar_url":"https://github.com/Tutortoise.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Infrastructure\n\nThis repository is Infrastucture as Code (IaC) of Tutortoise project. It uses **[Terraform](https://www.terraform.io/)** to provision and manage resources.\n\n## Prerequisites\n\n### 1, Required Tools\n\n- [Terraform](https://www.terraform.io/) - v1.9.8 or later\n- [Google Cloud SDK](https://cloud.google.com/sdk/docs/install) - 502.0.0 or later\n\n### 2. Access Credentials\n\nBefore you can use terraform you need to authenticate with gcloud sdk\n\n```bash\ngcloud auth application-default login\n```\n\n### 3. Terraform Backend\n\nCreate a Google Cloud Storage bucket if you don't have one already. This bucket will be used as the backend to store the terraform state file.\n\n```bash\ngsutil mb -p your-project-id -l asia-southeast2 gs://tutortoise-terraform\n```\n\n## Usage Guide\n\n### 1. Clone the Repository\n\n```bash\ngit clone https://github.com/Tutortoise/infrastructure.git\ncd  https://github.com/Tutortoise/infrastructure.git\n```\n\n### 2. Initialize Terraform\n\n```bash\nterraform init\n```\n\nThis command will download and intialize the required providers and modules.\n\n### 3. Configure the Variables\n\ncopying the `terraform.tfvars.example` file to `terraform.tfvars` and modifying the values.\n\n```hcl\nproject_id = \"your-project-id\"\nregion = \"asia-southeast2\"\n```\n\n### 4. Plan the Changes\n\nRun the following command to preview the infrastructure changes:\n\n```bash\nterraform plan\n```\n\n### 5. Apply the Changes\n\nDeploy the infrastructure with:\n\n```bash\nterraform apply\n```\n\nConfirm the changes when prompted.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftutortoise%2Finfrastructure","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftutortoise%2Finfrastructure","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftutortoise%2Finfrastructure/lists"}