variables
This commit is contained in:
parent
e6ddc059d4
commit
2a0fa20b3b
3 changed files with 45 additions and 0 deletions
11
project2/base.tf
Normal file
11
project2/base.tf
Normal file
|
@ -0,0 +1,11 @@
|
|||
variable "a" {}
|
||||
variable "b" {
|
||||
default = "test"
|
||||
}
|
||||
|
||||
output "ov1" {
|
||||
value = "${var.a}"
|
||||
}
|
||||
output "ov2" {
|
||||
value = "${var.b}"
|
||||
}
|
17
project2/terraform.tfstate
Normal file
17
project2/terraform.tfstate
Normal file
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"version": 4,
|
||||
"terraform_version": "0.12.24",
|
||||
"serial": 3,
|
||||
"lineage": "53b98038-185e-af43-6c6c-521354912695",
|
||||
"outputs": {
|
||||
"ov1": {
|
||||
"value": "qsd",
|
||||
"type": "string"
|
||||
},
|
||||
"ov2": {
|
||||
"value": "foo",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"resources": []
|
||||
}
|
17
project2/terraform.tfstate.backup
Normal file
17
project2/terraform.tfstate.backup
Normal file
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"version": 4,
|
||||
"terraform_version": "0.12.24",
|
||||
"serial": 2,
|
||||
"lineage": "53b98038-185e-af43-6c6c-521354912695",
|
||||
"outputs": {
|
||||
"ov1": {
|
||||
"value": "aze",
|
||||
"type": "string"
|
||||
},
|
||||
"ov2": {
|
||||
"value": "test",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"resources": []
|
||||
}
|
Loading…
Reference in a new issue