mirror of https://github.com/hashicorp/terraform
parent
734cda934b
commit
0d751be30b
@ -0,0 +1,18 @@
|
||||
{
|
||||
"version": 3,
|
||||
"terraform_version": "1.15.0",
|
||||
"backend": {
|
||||
"type": "cloud",
|
||||
"config": {
|
||||
"hostname": null,
|
||||
"organization": "hashicorp",
|
||||
"token": null,
|
||||
"workspaces": {
|
||||
"name": "test",
|
||||
"project": null,
|
||||
"tags": null
|
||||
}
|
||||
},
|
||||
"hash": 1816475682
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,17 @@
|
||||
terraform {
|
||||
cloud {
|
||||
organization = "hashicorp"
|
||||
workspaces {
|
||||
name = "test"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
variable "module_name" {
|
||||
type = string
|
||||
const = true
|
||||
}
|
||||
|
||||
module "example" {
|
||||
source = "./modules/${var.module_name}"
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
// Empty
|
||||
@ -0,0 +1,8 @@
|
||||
variable "module_name" {
|
||||
type = string
|
||||
const = true
|
||||
}
|
||||
|
||||
module "example" {
|
||||
source = "./modules/${var.module_name}"
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
// Empty
|
||||
Loading…
Reference in new issue