{"id":18801281,"url":"https://github.com/trydock/gcp-basic-vm","last_synced_at":"2026-02-02T11:02:01.780Z","repository":{"id":146296068,"uuid":"374230783","full_name":"trydock/gcp-basic-vm","owner":"trydock","description":"Basic Standalone VM instance in GCP","archived":false,"fork":false,"pushed_at":"2021-06-06T00:46:43.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-19T04:08:17.170Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/trydock.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":"2021-06-05T23:30:43.000Z","updated_at":"2021-06-06T00:46:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"26efe0b8-f0ff-40f5-b5cd-edce9b9d1de1","html_url":"https://github.com/trydock/gcp-basic-vm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/trydock/gcp-basic-vm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trydock%2Fgcp-basic-vm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trydock%2Fgcp-basic-vm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trydock%2Fgcp-basic-vm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trydock%2Fgcp-basic-vm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trydock","download_url":"https://codeload.github.com/trydock/gcp-basic-vm/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trydock%2Fgcp-basic-vm/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260684179,"owners_count":23046103,"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":[],"created_at":"2024-11-07T22:23:09.973Z","updated_at":"2026-02-02T11:01:56.742Z","avatar_url":"https://github.com/trydock.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gcp-basic-vm\nBasic Standalone VM instance in GCP\n\n## Prerequisite\n\n- Create a GCP service account.\n- Add permissions to create VM instance and Instance Templates.\n- Add a key to service account.\n- Download the json key file from the GCP service account.\n\n## Usage:\n\nClone to your workstation.\n\nCopy the sample config file.\n\n```\ncp -ar terraform.tfvars.sample terraform.tfvars\n```\n\nUpdate the config parameters in `terraform.tfvars` file.\n\n- Update `gcp_cred_file` with the path to the key you download from GCP service account.\n- Update `gcp_project` with the correct name of the GCP project you created.\n- Update `gcp_region` with the preffered region where you want the resource to be created.\n- Update `service_account` with the correct email of the service account.\n\nLets validate if the terraform files are valid, using.\n\n```\nterraform validate\n```\n\nThen issue plan, review the output.\n\n```\nterraform plan\n```\n\nFinally apply the terraform changes.\n\n```\nterraform apply\n```\n\ndone.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrydock%2Fgcp-basic-vm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrydock%2Fgcp-basic-vm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrydock%2Fgcp-basic-vm/lists"}