From 9952a353a8a2ac09e20e524093831978bf63c7ec Mon Sep 17 00:00:00 2001 From: Dmitry Borisov Date: Thu, 15 Sep 2022 09:53:13 +0300 Subject: [PATCH 1/2] Update Readme.md --- examples/README.md | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/examples/README.md b/examples/README.md index d960841b..bb7edb53 100644 --- a/examples/README.md +++ b/examples/README.md @@ -6,22 +6,22 @@ export IZE_CONFIG_FILE=/.infra/env/dev/ize.toml ``` ### Commands for generate terraform files -__Note:__ Use the `--terraform-state-bucket-name` flag for overwriting default value (-tf-state) + ```shell -ize env terraform +ize gen tfenv ``` ### Commands to deploy/destroy infrastructure ```shell -ize deploy infra -ize destroy infra +ize up infra +ize down infra ``` ### Commands to deploy/destroy "goblin" project ```shell -ize deploy goblin -ize destroy goblin +ize up goblin +ize down goblin ``` ### Establish SSM tunnel @@ -31,8 +31,18 @@ ize tunnel up ize tunnel down ``` +### Connect to a container in the ECS +```shell +ize console goblin +``` + ### Upload/Remove secrets ```shell -ize secret set --file .infra/env/testnut/secrets/example-service.json --type ssm -ize secret remove --type ssm --path /testnut/example-service +ize secrets set --file .infra/env/testnut/secrets/example-service.json --type ssm +ize secrets rm --backend ssm --path /testnut/example-service +``` + +### Show debug information +```shell +ize status ``` From d18c368c0b64e6ead6f9b2e7043a0357271cc5b7 Mon Sep 17 00:00:00 2001 From: Dmitry Borisov Date: Thu, 15 Sep 2022 13:22:57 +0300 Subject: [PATCH 2/2] fix readme --- examples/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/README.md b/examples/README.md index bb7edb53..86e0903b 100644 --- a/examples/README.md +++ b/examples/README.md @@ -38,8 +38,8 @@ ize console goblin ### Upload/Remove secrets ```shell -ize secrets set --file .infra/env/testnut/secrets/example-service.json --type ssm -ize secrets rm --backend ssm --path /testnut/example-service +ize secrets push goblin --backend ssm --file goblin.json --force +ize secrets rm goblin ``` ### Show debug information