github.com/graywolf-at-work-2/terraform-vendor@v1.4.5/internal/command/testdata/show-json/multi-resource-update/main.tf (about)

     1  variable "test_var" {
     2    default = "bar"
     3  }
     4  
     5  // There is a single instance in state. The plan will add a resource.
     6  resource "test_instance" "test" {
     7    ami   = var.test_var
     8    count = 2
     9  }
    10  
    11  output "test" {
    12    value = var.test_var
    13  }