Skip to content

Commit 8e33d46

Browse files
committed
minor change in wording
1 parent 62afecd commit 8e33d46

File tree

1 file changed

+41
-41
lines changed

1 file changed

+41
-41
lines changed

README.md

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -212,8 +212,8 @@ Run the following command in terminal:
212212
```shell
213213
terrahub component -t google_storage_bucket -n google_storage \
214214
&& terrahub component -t google_cloudfunctions_function -n google_function -o ../google_storage \
215-
&& terrahub component -t google_storage_bucket -n google_static_website -d ./www/.terrahub \
216-
&& terrahub component -t google_storage_bucket_iam_member -n iam_member_object_viewer -d ./www/.terrahub -o ../google_static_website
215+
&& terrahub component -t google_storage_bucket -n static_website -d ./www/.terrahub \
216+
&& terrahub component -t google_storage_bucket_iam_member -n iam_object_viewer -d ./www/.terrahub -o ../static_website
217217
```
218218

219219
Your output should be similar to the one below:
@@ -295,34 +295,34 @@ Your output should be similar to the one below:
295295

296296
Run the following commands in terminal:
297297
```shell
298-
terrahub configure -i google_static_website -c component.template.terraform.backend.local.path='/tmp/.terrahub/local_backend/google_static_website/terraform.tfstate'
299-
terrahub configure -i google_static_website -c component.template.resource.google_storage_bucket.google_static_website.name="${STORAGE_BUCKET}_website"
300-
terrahub configure -i google_static_website -c component.template.resource.google_storage_bucket.google_static_website.location='US'
301-
terrahub configure -i google_static_website -c component.template.resource.google_storage_bucket.google_static_website.force_destroy='true'
302-
terrahub configure -i google_static_website -c component.template.resource.google_storage_bucket.google_static_website.project='${local.google_project_id}'
303-
terrahub configure -i google_static_website -c component.template.resource.google_storage_bucket.google_static_website.website.main_page_suffix='index.html'
304-
terrahub configure -i google_static_website -c component.template.resource.google_storage_bucket.google_static_website.website.not_found_page='/404.html'
305-
terrahub configure -i google_static_website -c component.template.variable -D -y
306-
terrahub configure -i google_static_website -c build.env.variables.THUB_ENV='dev'
307-
terrahub configure -i google_static_website -c build.env.variables.THUB_INDEX_FILE='www.txt'
308-
terrahub configure -i google_static_website -c build.env.variables.THUB_S3_PATH="gs://${STORAGE_BUCKET}_website"
309-
terrahub configure -i google_static_website -c build.env.variables.THUB_ROBOTS='../../robots.dev.txt'
310-
terrahub configure -i google_static_website -c build.env.variables.THUB_BUILD_PATH='../../build'
311-
terrahub configure -i google_static_website -c build.env.variables.THUB_SOURCE_PATH='../../assets ../../static/fonts ../../static/img ../../views'
312-
terrahub configure -i google_static_website -c build.env.variables.THUB_BUILD_OK='false'
313-
terrahub configure -i google_static_website -c build.env.variables.THUB_MAX_AGE='600'
314-
terrahub configure -i google_static_website -c build.phases.pre_build.commands[0]='echo "BUILD: Running pre_build step"'
315-
terrahub configure -i google_static_website -c build.phases.pre_build.commands[1]='./scripts/download.sh $THUB_INDEX_FILE $THUB_S3_PATH/$THUB_INDEX_FILE'
316-
terrahub configure -i google_static_website -c build.phases.pre_build.commands[2]='./scripts/compare.sh $THUB_INDEX_FILE $THUB_SOURCE_PATH'
317-
terrahub configure -i google_static_website -c build.phases.pre_build.finally[0]='echo "BUILD: pre_build step successful"'
318-
terrahub configure -i google_static_website -c build.phases.build.commands[0]='echo "BUILD: Running build step"'
319-
terrahub configure -i google_static_website -c build.phases.build.commands[1]='../../bin/compile.sh'
320-
terrahub configure -i google_static_website -c build.phases.build.finally[0]='echo "BUILD: build step successful"'
321-
terrahub configure -i google_static_website -c build.phases.post_build.commands[0]='echo "BUILD: Running post_build step"'
322-
terrahub configure -i google_static_website -c build.phases.post_build.commands[1]='./scripts/shasum.sh $THUB_BUILD_PATH/$THUB_INDEX_FILE'
323-
terrahub configure -i google_static_website -c build.phases.post_build.commands[2]='./scripts/upload.sh $THUB_BUILD_PATH $THUB_S3_PATH --cache-control max-age=$THUB_MAX_AGE'
324-
terrahub configure -i google_static_website -c build.phases.post_build.commands[3]='rm -f .terrahub_build.env $THUB_INDEX_FILE'
325-
terrahub configure -i google_static_website -c build.phases.post_build.finally[0]='echo "BUILD: post_build step successful"'
298+
terrahub configure -i static_website -c component.template.terraform.backend.local.path='/tmp/.terrahub/local_backend/static_website/terraform.tfstate'
299+
terrahub configure -i static_website -c component.template.resource.google_storage_bucket.static_website.name="${STORAGE_BUCKET}_website"
300+
terrahub configure -i static_website -c component.template.resource.google_storage_bucket.static_website.location='US'
301+
terrahub configure -i static_website -c component.template.resource.google_storage_bucket.static_website.force_destroy='true'
302+
terrahub configure -i static_website -c component.template.resource.google_storage_bucket.static_website.project='${local.google_project_id}'
303+
terrahub configure -i static_website -c component.template.resource.google_storage_bucket.static_website.website.main_page_suffix='index.html'
304+
terrahub configure -i static_website -c component.template.resource.google_storage_bucket.static_website.website.not_found_page='/404.html'
305+
terrahub configure -i static_website -c component.template.variable -D -y
306+
terrahub configure -i static_website -c build.env.variables.THUB_ENV='dev'
307+
terrahub configure -i static_website -c build.env.variables.THUB_INDEX_FILE='www.txt'
308+
terrahub configure -i static_website -c build.env.variables.THUB_S3_PATH="gs://${STORAGE_BUCKET}_website"
309+
terrahub configure -i static_website -c build.env.variables.THUB_ROBOTS='../../robots.dev.txt'
310+
terrahub configure -i static_website -c build.env.variables.THUB_BUILD_PATH='../../build'
311+
terrahub configure -i static_website -c build.env.variables.THUB_SOURCE_PATH='../../assets ../../static/fonts ../../static/img ../../views'
312+
terrahub configure -i static_website -c build.env.variables.THUB_BUILD_OK='false'
313+
terrahub configure -i static_website -c build.env.variables.THUB_MAX_AGE='600'
314+
terrahub configure -i static_website -c build.phases.pre_build.commands[0]='echo "BUILD: Running pre_build step"'
315+
terrahub configure -i static_website -c build.phases.pre_build.commands[1]='./scripts/download.sh $THUB_INDEX_FILE $THUB_S3_PATH/$THUB_INDEX_FILE'
316+
terrahub configure -i static_website -c build.phases.pre_build.commands[2]='./scripts/compare.sh $THUB_INDEX_FILE $THUB_SOURCE_PATH'
317+
terrahub configure -i static_website -c build.phases.pre_build.finally[0]='echo "BUILD: pre_build step successful"'
318+
terrahub configure -i static_website -c build.phases.build.commands[0]='echo "BUILD: Running build step"'
319+
terrahub configure -i static_website -c build.phases.build.commands[1]='../../bin/compile.sh'
320+
terrahub configure -i static_website -c build.phases.build.finally[0]='echo "BUILD: build step successful"'
321+
terrahub configure -i static_website -c build.phases.post_build.commands[0]='echo "BUILD: Running post_build step"'
322+
terrahub configure -i static_website -c build.phases.post_build.commands[1]='./scripts/shasum.sh $THUB_BUILD_PATH/$THUB_INDEX_FILE'
323+
terrahub configure -i static_website -c build.phases.post_build.commands[2]='./scripts/upload.sh $THUB_BUILD_PATH $THUB_S3_PATH --cache-control max-age=$THUB_MAX_AGE'
324+
terrahub configure -i static_website -c build.phases.post_build.commands[3]='rm -f .terrahub_build.env $THUB_INDEX_FILE'
325+
terrahub configure -i static_website -c build.phases.post_build.finally[0]='echo "BUILD: post_build step successful"'
326326
```
327327

328328
Your output should be similar to the one below:
@@ -334,13 +334,13 @@ Your output should be similar to the one below:
334334

335335
Run the following commands in terminal:
336336
```shell
337-
terrahub configure -i iam_member_object_viewer -c component.template.terraform.backend.local.path='/tmp/.terrahub/local_backend/iam_member_object_viewer/terraform.tfstate'
338-
terrahub configure -i iam_member_object_viewer -c component.template.data.terraform_remote_state.storage.backend='local'
339-
terrahub configure -i iam_member_object_viewer -c component.template.data.terraform_remote_state.storage.config.path='/tmp/.terrahub/local_backend/google_static_website/terraform.tfstate'
340-
terrahub configure -i iam_member_object_viewer -c component.template.resource.google_storage_bucket_iam_member.iam_member_object_viewer.bucket="${STORAGE_BUCKET}_website"
341-
terrahub configure -i iam_member_object_viewer -c component.template.resource.google_storage_bucket_iam_member.iam_member_object_viewer.role="roles/storage.objectViewer"
342-
terrahub configure -i iam_member_object_viewer -c component.template.resource.google_storage_bucket_iam_member.iam_member_object_viewer.member="allUsers"
343-
terrahub configure -i iam_member_object_viewer -c component.template.variable -D -y
337+
terrahub configure -i iam_object_viewer -c component.template.terraform.backend.local.path='/tmp/.terrahub/local_backend/iam_object_viewer/terraform.tfstate'
338+
terrahub configure -i iam_object_viewer -c component.template.data.terraform_remote_state.storage.backend='local'
339+
terrahub configure -i iam_object_viewer -c component.template.data.terraform_remote_state.storage.config.path='/tmp/.terrahub/local_backend/static_website/terraform.tfstate'
340+
terrahub configure -i iam_object_viewer -c component.template.resource.google_storage_bucket_iam_member.iam_object_viewer.bucket="${STORAGE_BUCKET}_website"
341+
terrahub configure -i iam_object_viewer -c component.template.resource.google_storage_bucket_iam_member.iam_object_viewer.role="roles/storage.objectViewer"
342+
terrahub configure -i iam_object_viewer -c component.template.resource.google_storage_bucket_iam_member.iam_object_viewer.member="allUsers"
343+
terrahub configure -i iam_object_viewer -c component.template.variable -D -y
344344
```
345345

346346
Your output should be similar to the one below:
@@ -360,8 +360,8 @@ Your output should be similar to the one below:
360360
Project: demo-terraform-automation-gcp
361361
├─ google_storage [path: ./google_storage]
362362
│ └─ google_function [path: ./google_function]
363-
└─ google_static_website [path: ./www/.terrahub/google_static_website]
364-
└─ iam_member_object_viewer [path: ./www/.terrahub/iam_member_object_viewer]
363+
└─ static_website [path: ./www/.terrahub/static_website]
364+
└─ iam_object_viewer [path: ./www/.terrahub/iam_object_viewer]
365365
```
366366

367367
## Run TerraHub Automation
@@ -370,7 +370,7 @@ Project: demo-terraform-automation-gcp
370370

371371
Run the following command in terminal:
372372
```shell
373-
terrahub run -y -a -i google_storage,google_static_website
373+
terrahub run -y -a -i google_storage,static_website
374374
```
375375

376376
Your output should be similar to the one below:
@@ -382,7 +382,7 @@ Your output should be similar to the one below:
382382
Run the following command in terminal:
383383

384384
```shell
385-
terrahub build -i google_function,google_static_website
385+
terrahub build -i google_function,static_website
386386
```
387387

388388
Your output should be similar to the one below:

0 commit comments

Comments
 (0)