-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
27 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Cloud shell | ||
|
||
Customize in `~/.customize_environment` (`edit .customize_environment`): | ||
|
||
```sh | ||
#!/bin/sh | ||
TERRAFORM_VERSION="0.12.0" | ||
curl https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip > terraform_${TERRAFORM_VERSION}_linux_amd64.zip | ||
unzip -o terraform_${TERRAFORM_VERSION}_linux_amd64.zip -d /usr/local/bin | ||
``` | ||
|
||
Editor is based on Eclipse Theia. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,8 +28,15 @@ gcloud help | |
## Initialize environment | ||
|
||
```sh | ||
gcloud init | ||
gcloud init | ||
# or: gcloud init --console-only | ||
``` | ||
|
||
To switch active account: | ||
|
||
```sh | ||
gcloud auth list | ||
gcloud config set account [email protected] | ||
``` | ||
|
||
## Get information | ||
|
@@ -49,6 +56,13 @@ gcloud components remove COMPONENT | |
gcloud components update | ||
``` | ||
|
||
## Beta commands interactive shell | ||
|
||
```sh | ||
gcloud components install beta | ||
gcloud beta interactive | ||
``` | ||
|
||
## Switch project | ||
|
||
```sh | ||
|