【发布时间】:2019-11-11 18:27:32
【问题描述】:
# Using a single workspace:
terraform {
backend "remote" {
hostname = "app.terraform.io"
organization = "company"
workspaces {
name = "my-app-prod"
}
}
}
对于 Terraform 远程后端,是否可以使用变量来指定组织/工作区名称,而不是那里的硬编码值?
Terraform documentation 似乎也没有提到任何相关的事情。
【问题讨论】:
标签: terraform terraform-provider-azure terraform-remote-state