github.com/opentofu/opentofu@v1.7.1/internal/command/testdata/test/pass_with_local_variable/tests/test.tftest.hcl (about)

     1  run "first" {
     2    command = apply
     3  }
     4  
     5  run "second" {
     6    command = plan
     7  
     8    module {
     9      source = "./tests/testmodule"
    10    }
    11  
    12    variables {
    13      foo = run.first.foo
    14    }
    15  }