浏览代码

add -backend-config flag to terraform init command (#6370)

madpawel 7 年之前
父节点
当前提交
b5898a5ec6
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      plugins/terraform/_terraform

+ 1 - 0
plugins/terraform/_terraform

@@ -62,6 +62,7 @@ __init() {
         '-address=[(url) URL of the remote storage server. Required for HTTP backend, optional for Atlas and Consul.]' \
         '-access-token=[(token) Authentication token for state storage server. Required for Atlas backend, optional for Consul.]' \
         '-backend=[(atlas) Specifies the type of remote backend. Must be one of Atlas, Consul, or HTTP. Defaults to atlas.]' \
+        '-backend-config=[(path) Specifies the path to remote backend config file.]' \
         '-name=[(name) Name of the state file in the state storage server. Required for Atlas backend.]' \
         '-path=[(path) Path of the remote state in Consul. Required for the Consul backend.]'
 }