88b3f028f4a2ffa4f3853a11e4b8e0d78008ca34

Author
Mohamed El Mouctar Haidara <elmhaidara@gmail.com>
Committer
GitHub <noreply@github.com>
Date

Message

feat(terraform): add autocompletion for Terraform 0.13 (#9226)

Diff

This diff is truncated to protect this page.

 1diff --git a/plugins/terraform/_terraform b/plugins/terraform/_terraform
 2index e4298f2abaf4ede582c4cfa41464516d920fb4de..a19e50670f1aee607c1189f1bbd1993cbcf0b3b5 100644
 3--- a/plugins/terraform/_terraform
 4+++ b/plugins/terraform/_terraform
 5@@ -6,14 +6,16 @@ _terraform_cmds=(
 6     'console:Interactive console for Terraform interpolations'
 7     'destroy:Destroy Terraform-managed infrastructure'
 8     'fmt:Rewrites config files to canonical format'
 9+    'force-unlock:Manually unlock the terraform state'
10     'get:Download and install modules for the configuration'
11     'graph:Create a visual graph of Terraform resources'
12     'import:Import existing infrastructure into Terraform'
13     'init:Initialize a Terraform working directory'
14+    'login:Obtain and save credentials for a remote host'
15+    'logout:Remove locally-stored credentials for a remote host'
16     'output:Read an output from a state file'
17     'plan:Generate and show an execution plan'
18     'providers:Prints a tree of the providers used in the configuration'
19-    'push:Upload this Terraform module to Atlas to run'
20     'refresh:Update local state file against real resources'
21     'show:Inspect Terraform state or plan'
22     'state:Advanced state management'
23@@ -23,6 +25,7 @@ _terraform_cmds=(
24     'version:Prints the Terraform version'
25     'workspace:Workspace management'
26     '0.12upgrade:Rewrites pre-0.12 module source code for v0.12'
27+    '0.13upgrade:Rewrites pre-0.13 module source code for v0.13'
28 )
29 
30 __012upgrade() {
31@@ -31,45 +34,51 @@ __012upgrade() {