summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/opentofu/README.md35
-rw-r--r--plugins/opentofu/opentofu.plugin.zsh1
2 files changed, 19 insertions, 17 deletions
diff --git a/plugins/opentofu/README.md b/plugins/opentofu/README.md
index 9811e2751..cc6e94acd 100644
--- a/plugins/opentofu/README.md
+++ b/plugins/opentofu/README.md
@@ -15,23 +15,24 @@ plugins=(... opentofu)
## Aliases
-| Alias | Command |
-|--------|-----------------------|
-| `tt` | `tofu` |
-| `tta` | `tofu apply` |
-| `ttc` | `tofu console` |
-| `ttd` | `tofu destroy` |
-| `ttf` | `tofu fmt` |
-| `ttfr` | `tofu fmt -recursive` |
-| `tti` | `tofu init` |
-| `tto` | `tofu output` |
-| `ttp` | `tofu plan` |
-| `ttv` | `tofu validate` |
-| `tts` | `tofu state` |
-| `ttsh` | `tofu show` |
-| `ttr` | `tofu refresh` |
-| `ttt` | `tofu test` |
-| `ttws` | `tofu workspace` |
+| Alias | Command |
+|--------|------------------------------|
+| `tt` | `tofu` |
+| `tta` | `tofu apply` |
+| `ttaa` | `tofu apply -auto-approve` |
+| `ttc` | `tofu console` |
+| `ttd` | `tofu destroy` |
+| `ttf` | `tofu fmt` |
+| `ttfr` | `tofu fmt -recursive` |
+| `tti` | `tofu init` |
+| `tto` | `tofu output` |
+| `ttp` | `tofu plan` |
+| `ttv` | `tofu validate` |
+| `tts` | `tofu state` |
+| `ttsh` | `tofu show` |
+| `ttr` | `tofu refresh` |
+| `ttt` | `tofu test` |
+| `ttws` | `tofu workspace` |
## Prompt functions
diff --git a/plugins/opentofu/opentofu.plugin.zsh b/plugins/opentofu/opentofu.plugin.zsh
index aa6cac78a..79b102a74 100644
--- a/plugins/opentofu/opentofu.plugin.zsh
+++ b/plugins/opentofu/opentofu.plugin.zsh
@@ -29,6 +29,7 @@ function tofu_version_prompt_info() {
alias tt='tofu'
alias tta='tofu apply'
+alias ttaa='tofu apply -auto-approve'
alias ttc='tofu console'
alias ttd='tofu destroy'
alias ttf='tofu fmt'