github.com/graywolf-at-work-2/terraform-vendor@v1.4.5/internal/command/testdata/show-json/provider-version/main.tf (about) 1 terraform { 2 required_providers { 3 test = { 4 source = "hashicorp/test" 5 version = ">= 1.2.3" 6 } 7 } 8 } 9 10 provider "test" { 11 region = "somewhere" 12 version = "1.2.3" 13 } 14 15 variable "test_var" { 16 default = "bar" 17 } 18 19 resource "test_instance" "test" { 20 ami = var.test_var 21 count = 3 22 } 23 24 output "test" { 25 value = var.test_var 26 }