-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create Tutorial for CLI #78
Labels
area/documentation
Relates to all activities around documentation
enhancement
New feature or request
Comments
As we don't have the rollback yet, we can add also "tutorials" how to use capact to delete created resources. For example, for AWS Redis instance it will be: git clone --depth 1 https:/umotif-public/terraform-aws-elasticache-redis.git
cd terraform-aws-elasticache-redis
capact typeinstance get <tfstate-ti-id> -ojson | jq -r '.[0].latestResourceVersion.spec.value.state' | base64 -d | sed -E 's/(.*"filename": ")(\/root)(.*)/\1~\3/g' > terraform.tfstate
capact typeinstance get <tfstate-ti-id> -ojson | jq -r '.[0].latestResourceVersion.spec.value.variables' | base64 -d > terraform.tfvars
terraform init
terraform destroy # region eu-west-1 |
pkosiec
added
the
area/documentation
Relates to all activities around documentation
label
Nov 15, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area/documentation
Relates to all activities around documentation
enhancement
New feature or request
Description
Currently there is no dedicated tutorial for CLI usage. CLI usage is shown in multiple tutorials but there is no single place to direct.
We should have a tutorial which shows common CLI scenarios like:
Reason
To improve our docs quality.
The text was updated successfully, but these errors were encountered: