diff --git a/README.md b/README.md index 0013bd2..9fcbb97 100644 --- a/README.md +++ b/README.md @@ -86,6 +86,9 @@ Provide the required information and you should be greeted with this page. +--- + +Open this project in Cloud Shell --- @@ -110,7 +113,10 @@ default_region = "us-central1" sa_enable_impersonation = true ``` -[![Open this project in Cloud Shell](http://gstatic.com/cloudssh/images/open-btn.png)](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/nufailtd/terraform-budget-gcp&open_in_editor=main.tf&cloudshell_workspace=seed_project) +Switch to the `seed_project` folder; +``` +cd seed_project +``` Then perform the following commands on the seed_project folder: @@ -148,10 +154,12 @@ name = "myproject" ## This section has been auto-generated by ./create-tfvars.sh ## ``` +Switch to the `budget_gcp_project` folder; +``` +cd budget_gcp_project +``` -[![Open this project in Cloud Shell](http://gstatic.com/cloudssh/images/open-btn.png)](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/nufailtd/terraform-budget-gcp&open_in_editor=main.tf&cloudshell_workspace=budget_gcp_project) - -Then perform the following commands in the budget_gcp_project folder: +Then perform the following commands: - `terraform init` - to get the plugins ``` @@ -301,9 +309,11 @@ oidc_config = [ ] ``` -[![Open this project in Cloud Shell](http://gstatic.com/cloudssh/images/open-btn.png)](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/nufailtd/terraform-budget-gcp&open_in_editor=main.tf) - -Then perform the following commands: +Make sure yo are in the root folder +``` +cd .. +``` +Then perform the following commands: It is recommended to run this before performing the subsequent commands. This ensures that you use the project's service account to create resources. diff --git a/budget_gcp_project/README.md b/budget_gcp_project/README.md index 4a07402..5412081 100644 --- a/budget_gcp_project/README.md +++ b/budget_gcp_project/README.md @@ -1,10 +1,6 @@ # Create a Budget GCP Project Create a project to host our infrastructure. -[![Open this project in Cloud Shell](http://gstatic.com/cloudssh/images/open-btn.png)](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/nufailtd/terraform-budget-gcp&open_in_editor=main.tf&cloudshell_workspace=budget_gcp_project) - - - Create a `terraform.tfvars` files in this directory by running ``` ./create-tfvars.sh myproject diff --git a/seed_project/README.md b/seed_project/README.md index ff1aede..a5d28eb 100644 --- a/seed_project/README.md +++ b/seed_project/README.md @@ -1,8 +1,6 @@ # Create a GCP Seed Project Create a seed project in an organization to manage creation of other projects using terraform. -[![Open this project in Cloud Shell](http://gstatic.com/cloudssh/images/open-btn.png)](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/nufailtd/terraform-budget-gcp&open_in_editor=main.tf&cloudshell_workspace=seed_project) - You will most likely **not** need to run this. Use the `budget_gcp_project` instead. This module requires you to have previously set up an organization through;