This repository was archived by the owner on Nov 2, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ project ID:
49
49
50
50
``` bash
51
51
git clone https://github.com/GoogleCloudPlatform/cloud-ops-sandbox
52
- gcloud auth application-default loging
52
+ gcloud auth application-default login
53
53
cloud-ops-sandbox/provisioning/sandboxctl create -p PROJECT_ID
54
54
```
55
55
Original file line number Diff line number Diff line change @@ -46,10 +46,10 @@ instructions:
46
46
47
47
Or, by executing the following commands in your local environment:
48
48
49
- ``` terminal
49
+ ``` shell
50
50
git clone https://github.com/GoogleCloudPlatform/cloud-ops-sandbox
51
- gcloud auth application-default loging
52
- cloud-ops-sandbox/provisioning/sandboxctl -p PROJECT_ID
51
+ gcloud auth application-default login
52
+ cloud-ops-sandbox/provisioning/sandboxctl create -p PROJECT_ID
53
53
```
54
54
55
55
where ` PROJECT_ID ` identifies the Google Cloud project where you want to
Original file line number Diff line number Diff line change @@ -211,7 +211,7 @@ fatal_with_usage() {
211
211
}
212
212
213
213
version_message () {
214
- echo " ${VERSION } "
214
+ echo " ${SANDBOX_VERSION } "
215
215
}
216
216
217
217
usage () {
@@ -416,7 +416,6 @@ local_iam_user() {
416
416
417
417
prepare_terraform_state () {
418
418
TF_BUCKET_NAME=" ${PROJECT_ID} -cloud-ops-sandbox-tf-state"
419
- local URIS
420
419
NAMES=$( gcloud storage buckets list " gs://${TF_BUCKET_NAME} *" --format=" value(name)" --project " ${PROJECT_ID} " )
421
420
if [[ -z " ${NAMES} " ]]; then
422
421
info " Creating storage bucket to host Cloud Ops Sandbox state..."
@@ -437,7 +436,6 @@ does_terraform_state_exist() {
437
436
else
438
437
STATE_OBJ_URI=" gs://${TF_BUCKET_NAME} /${TERRAFORM_PREFIX} /default.tfstate"
439
438
fi
440
- local URIS
441
439
NAMES=$( gcloud storage objects list " ${STATE_OBJ_URI} " --format=" value(name)" --project " ${PROJECT_ID} " )
442
440
if [[ -z " ${NAMES} " ]]; then
443
441
false
You can’t perform that action at this time.
0 commit comments