hashicorp / terraform-getting-started-gcp-cloud-shell

Getting Started Guide for Terraform and Google Cloud Platform using a Google Cloud Shell tutorial
Mozilla Public License 2.0
22 stars 33 forks source link

link in hashicorp tutorial does not work #11

Open wangminzheng opened 2 years ago

wangminzheng commented 2 years ago

This repo is referenced in the following tutorial work: https://learn.hashicorp.com/tutorials/terraform/google-cloud-platform-build ("Google Cloud Shell" section) The link to clone the repo in cloudshell doesn't not work, because it's referencing the "main" branch, which doens't exist. It should be master. Please kindly change the link in the tutorial page.

The link currently in the tutorial: https://console.cloud.google.com/cloudshell/open?cloudshell_image=gcr.io/graphite-cloud-shell-images/terraform:latest&cloudshell_git_repo=https://github.com/hashicorp/terraform-getting-started-gcp-cloud-shell&cloudshell_git_branch=main&cloudshell_working_dir=tutorial/&open_in_editor=./main.tf&cloudshell_tutorial=./cloudshell_tutorial.md

AlfonsoUceda commented 2 years ago

@wangminzheng I came across the same problem, just change the git branch in the link:

https://console.cloud.google.com/cloudshell/open?cloudshell_image=gcr.io/graphite-cloud-shell-images/terraform:latest&cloudshell_git_repo=https://github.com/hashicorp/terraform-getting-started-gcp-cloud-shell&cloudshell_git_branch=master&cloudshell_working_dir=tutorial/&open_in_editor=./main.tf&cloudshell_tutorial=./cloudshell_tutorial.md

param: cloudshell_git_branch