github.com/opentofu/opentofu@v1.7.1/internal/command/testdata/test/variables/main.tf (about)

     1  variable "input" {
     2    type    = string
     3    default = "bar"
     4  }
     5  
     6  resource "test_resource" "foo" {
     7    value = var.input
     8  }