Terraform Version
Tested on multiple 0.12 versions, current version is 0.12.23
Terraform Configuration Files
I would expect the following foo = "${var.hello}" to throw a deprecation warning, but none is shown
Repository created here https://github.com/Jimmyscene/terraform_bug
module "foo" {
source = "../foo"
foo = "${var.hello}" # THIS DOES NOT ERROR?
}
Debug Output
https://gist.github.com/Jimmyscene/41408d647e1d31955d09774de5e7a0af
Expected Behavior
Warning: Interpolation-only expressions are deprecated
on ../bar/main.tf line 6, in provider "null":
7: foo = "${var.hello}" # THIS DOES NOT ERROR?
on ../foo/main.tf line 6, in provider "null":
6: acceptable = "${var.foo}" # WARNING: Interpolation-only expressions are deprecated
Actual Behavior
Warning: Interpolation-only expressions are deprecated
on ../foo/main.tf line 6, in provider "null":
6: acceptable = "${var.foo}" # WARNING: Interpolation-only expressions are deprecated
Steps to Reproduce
- Clone down repository linked above
- cd bar
- terraform init
- terraform validate
Terraform Version
Terraform Configuration Files
I would expect the following
foo = "${var.hello}"to throw a deprecation warning, but none is shownRepository created here https://github.com/Jimmyscene/terraform_bug
Debug Output
https://gist.github.com/Jimmyscene/41408d647e1d31955d09774de5e7a0af
Expected Behavior
Actual Behavior
Steps to Reproduce