{"id":19474228,"url":"https://github.com/happypathway/gcpdemo","last_synced_at":"2026-07-21T14:30:15.746Z","repository":{"id":139236859,"uuid":"151490729","full_name":"HappyPathway/GCPDemo","owner":"HappyPathway","description":null,"archived":false,"fork":false,"pushed_at":"2018-10-03T23:10:52.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-08T06:16:51.877Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HappyPathway.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":"2018-10-03T22:52:55.000Z","updated_at":"2018-10-03T23:10:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"d802a888-37ce-4f48-9c7f-c157d27968e0","html_url":"https://github.com/HappyPathway/GCPDemo","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/HappyPathway%2FGCPDemo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HappyPathway%2FGCPDemo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HappyPathway%2FGCPDemo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HappyPathway%2FGCPDemo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HappyPathway","download_url":"https://codeload.github.com/HappyPathway/GCPDemo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240696639,"owners_count":19843042,"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-10T19:24:00.290Z","updated_at":"2026-07-21T14:30:15.698Z","avatar_url":"https://github.com/HappyPathway.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GCPDemo\n\n## Usage\nIn order to use this demo, first clone it... duh! ;)\nThen create an organization in Terraform Enterprise; make sure it's one you dont care about it as you will be deleting it afterwards.\n\n\n### Import your organization\nThen import your organization into the current Terraform workspace\n```bash\nterraform import tfe_organization.gcp_infrastructure \u003corg_name\u003e\n```\n\n### Create your terraform.tfvars file\n```\nadmin_email=\"darnold@hashicorp.com\"\ngcp_credentials_file=\"/Users/davearnold/.google.json\"\ngcp_project=\"\u003cgcp_credentials_file_path\u003e\"\ngithub_organization=\"HappyPathway\"\norganization=\"GCPDemo\"\n```\n\n### Run Terraform\n```bash\nterraform apply\n```\n\n### Import private modules\nThe private modules cannot be imported during the first run as the repositories will not have been setup yet.\nImporting of the private modules uses a data source where as the github repos uses resources. Since Data Sources \nrun before Resources, it's necessary to not run all configurations during the first pass.\nRename the modules.tf.phase2 file to modules.tf and then re-run terraform apply\n```\nterraform apply\n```\n\nNow you should have everything setup properly.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhappypathway%2Fgcpdemo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhappypathway%2Fgcpdemo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhappypathway%2Fgcpdemo/lists"}