1
0
Fork 0

variables

This commit is contained in:
Cedric Girard 2020-05-12 10:36:59 +02:00
parent e6ddc059d4
commit 2a0fa20b3b
Signed by: X-dark
GPG Key ID: E7D0E125DB9519E4
3 changed files with 45 additions and 0 deletions

11
project2/base.tf Normal file
View File

@ -0,0 +1,11 @@
variable "a" {}
variable "b" {
default = "test"
}
output "ov1" {
value = "${var.a}"
}
output "ov2" {
value = "${var.b}"
}

View 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": []
}

View 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": []
}