Skip to content

Commit 77b21a8

Browse files
rootroot
authored andcommitted
fixed conflicts
2 parents f8f83d9 + c4deee7 commit 77b21a8

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ Manual Setup (set values in double quotes and run the following command in termi
1616
```shell
1717
export GOOGLE_CLOUD_PROJECT="" ## e.g. terrahub-123456
1818
export GOOGLE_APPLICATION_CREDENTIALS="" ## e.g. ${HOME}/.config/gcloud/terraform.json
19-
export BILLING_ID="" ## e.g. 123456-ABCDEF-ZYXWVU
20-
export PROJECT_NAME="" ## e.g. TerraHub
21-
export IAM_NAME="" ## e.g. terraform
22-
export IAM_DESC="" ## e.g. terraform service account
23-
export GOOGLE_STORAGE_BUCKET="" ## e.g. terrahub_bucket_123456
19+
export BILLING_ID="" ## e.g. 123456-ABCDEF-ZYXWVU
20+
export PROJECT_NAME="" ## e.g. TerraHub
21+
export IAM_NAME="" ## e.g. terraform
22+
export IAM_DESC="" ## e.g. terraform service account
23+
export STORAGE_BUCKET="" ## e.g. terrahub_bucket_123456
2424
```
2525
### Setup BILLING_ID Programmatically
2626

@@ -151,7 +151,7 @@ Your output should be similar to the one below:
151151
Run the following command in terminal:
152152
```shell
153153
terrahub configure -i google_storage -c component.template.terraform.backend.local.path='/tmp/.terrahub/local_backend/google_storage/terraform.tfstate'
154-
terrahub configure -i google_storage -c component.template.resource.google_storage_bucket.google_storage.name="${GOOGLE_STORAGE_BUCKET}"
154+
terrahub configure -i google_storage -c component.template.resource.google_storage_bucket.google_storage.name="${STORAGE_BUCKET}"
155155
terrahub configure -i google_storage -c component.template.resource.google_storage_bucket.google_storage.location='US'
156156
terrahub configure -i google_storage -c component.template.resource.google_storage_bucket.google_storage.force_destroy='true'
157157
terrahub configure -i google_storage -c component.template.resource.google_storage_bucket.google_storage.project='${local.google_project_id}'
@@ -194,7 +194,7 @@ terrahub configure -i google_function -c build.env.variables.COMPONENT_NAME='goo
194194
terrahub configure -i google_function -c build.env.variables.OBJECT_NAME='google_storage_object'
195195
terrahub configure -i google_function -c build.env.variables.THUB_BUILD_PATH='..'
196196
terrahub configure -i google_function -c build.env.variables.THUB_BUILD_OK='false'
197-
terrahub configure -i google_function -c build.env.variables.THUB_BUCKET_PATH="gs://${GOOGLE_STORAGE_BUCKET}"
197+
terrahub configure -i google_function -c build.env.variables.THUB_BUCKET_PATH="gs://${STORAGE_BUCKET}"
198198
terrahub configure -i google_function -c build.env.variables.THUB_BUCKET_KEY='deploy/google_function'
199199
terrahub configure -i google_function -c build.phases.pre_build.commands[0]='echo "BUILD: Running pre_build step"'
200200
terrahub configure -i google_function -c build.phases.pre_build.commands[1]='./scripts/download.sh $THUB_FUNCTION_TXT $THUB_BUCKET_PATH/$THUB_BUCKET_KEY/$THUB_FUNCTION_TXT'
@@ -309,4 +309,4 @@ Run the following command in terminal:
309309
```
310310
curl https://us-central1-terrahub-123456.cloudfunctions.net/demofunctionxxxxxxxx
311311
curl https://${GOOGLE_STORAGE_BUCKET}_website.storage.googleapis.com/index.html
312-
```
312+
```

0 commit comments

Comments
 (0)