try to reproduce #8730 in tests

pull/8837/head
Adrien Delorme 6 years ago
parent 483c8ec7d0
commit 4b10c5a87c

@ -8,7 +8,7 @@ build {
provisioner "shell" {
name = "provisioner that does something"
not_squashed = var.foo
string = "string"
string = "string${var.proxmox_username}"
int = "${41 + 1}"
int64 = "${42 + 1}"
bool = "true"

@ -10,6 +10,10 @@ variable "image_id" {
default = "image-id-default"
}
variable "proxmox_username" {
type = string
}
variable "port" {
type = number
default = 42

@ -25,6 +25,7 @@ func TestParser_complete(t *testing.T) {
"image_id": &Variable{},
"port": &Variable{},
"availability_zone_names": &Variable{},
"proxmox_username": &Variable{},
},
LocalVariables: Variables{
"feefoo": &Variable{},

Loading…
Cancel
Save