github.com/hashicorp/terraform-plugin-sdk@v1.17.2/terraform/testdata/validate-required-var/main.tf (about) 1 variable "foo" {} 2 3 resource "aws_instance" "web" { 4 ami = "${var.foo}" 5 }