Skip to content

Commit da8787b

Browse files
committed
improve docs
1 parent 7e66705 commit da8787b

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

README.md

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,13 +176,28 @@ terrahub run -y -a -b
176176

177177
Your output should be similar to the one below:
178178
```
179+
💡 THUB_TOKEN is not provided.
180+
Project: terraform-aws-automation-demo | Components: api_gateway_deployment, api_gateway_rest_api, iam_role, lambda, security_group, subnet_private, vpc
181+
Option 'auto-approve' is enabled, therefore 'run' action is executed with no confirmation.
182+
💡 [iam_role] terraform init -no-color -force-copy -input=false .
183+
184+
[[REDACTED]]
185+
186+
[api_gateway_deployment] State path: /tmp/.terrahub/local_backend/terraform-aws-automation-demo/api_gateway_deployment/terraform.tfstate
187+
188+
Outputs:
189+
190+
[api_gateway_deployment] execution_arn = arn:aws:execute-api:us-east-1:[[REDACTED]]:[[REDACTED]]/demo
191+
[api_gateway_deployment] id = [[REDACTED]]
192+
[api_gateway_deployment] invoke_url = https://[[REDACTED]].execute-api.us-east-1.amazonaws.com/demo
193+
✅ Done
179194
```
180195

181196
## Test Deployed Cloud Resources
182197

183-
Check if backend was deployed successfully. Run the following command in terminal:
198+
Check if backend was deployed successfully. Run the following command in terminal (replace [[REDACTED]] with your value):
184199
```
185-
curl https://xxxxxxxxxx.execute-api.us-east-1.amazonaws.com/demo
200+
curl https://[[REDACTED]].execute-api.us-east-1.amazonaws.com/demo
186201
```
187202

188-
> NOTE: If you receive `{"message": "Internal server error"}`, wait couple of seconds and try again.
203+
> NOTE: If you receive `{"message": "Internal server error"}`, wait couple of seconds/minutes and try again.

0 commit comments

Comments
 (0)