Skip to content
This repository was archived by the owner on Dec 12, 2025. It is now read-only.

Commit

Permalink
GCP: Cleanup cli.
Browse files Browse the repository at this point in the history
  • Loading branch information
tmiddelkoop committed May 5, 2022
1 parent 5bdf685 commit 96ed1d2
Showing 1 changed file with 21 additions and 9 deletions.
30 changes: 21 additions & 9 deletions content/GCP/04_intro_to_cli.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@
"**Exercises:** 5 min\n",
"\n",
"**Questions:**\n",
"* How do I use the Cloud CLI?\n",
"* How do I use `gcloud`?\n",
" * How do I use the Cloud CLI?\n",
" * How do I use `gcloud`?\n",
"\n",
"**Objectives:**\n",
"* Find and use the \"Cloud Shell\" in the web console.\n",
"* Use basic cloud CLI commands (`gcloud` and `gsutil`).\n",
"* Verify basic settings.\n",
"* Use environment variables for configuration.\n",
"* Understand the importance of using variables reproducibility and automation.\n",
" * Find and use the \"Cloud Shell\" in the web console.\n",
" * Use basic cloud CLI commands (`gcloud` and `gsutil`).\n",
" * Verify basic settings.\n",
" * Use environment variables for configuration.\n",
" * Understand the importance of using variables reproducibility and automation.\n",
"``` "
]
},
Expand Down Expand Up @@ -147,6 +147,17 @@
"gcloud config get-value project"
]
},
{
"cell_type": "markdown",
"id": "379aa938-04e0-4663-b402-e79b03b474da",
"metadata": {},
"source": [
"We will first use the `gsutil` command, which is similar to `gcloud` but older but more comprehensive. We will first check to see if the command working by showing the help by issuing the following command:\n",
"```\n",
"gcloud help\n",
"```"
]
},
{
"cell_type": "markdown",
"id": "1389ca4f-7234-4ea3-9ad8-85914d88ede5",
Expand Down Expand Up @@ -452,9 +463,10 @@
"metadata": {},
"source": [
"```{admonition} Exercise\n",
":class: exercise\n",
"\n",
" * What command shows the account? (hint: we used it already)\n",
" * Set the `ACCOUNT` environment variable with the correct value. (hint: be careful with punctuation (single and double quotes) and matching brackets and punctuation)\n",
" * What command shows the account? (hint: we used it already)\n",
" * Set the `ACCOUNT` environment variable with the correct value. (hint: be careful with punctuation (single and double quotes) and matching brackets and punctuation)\n",
"```"
]
},
Expand Down

0 comments on commit 96ed1d2

Please sign in to comment.