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

     1  # This is an example test file from a use case requested by a user. We only
     2  # refer to alternate modules and not the main configuration. This means we
     3  # shouldn't have to provide any data for the main configuration.
     4  
     5  run "first" {
     6    module {
     7      source = "./example"
     8    }
     9  
    10    variables {
    11      input = "start"
    12    }
    13  }
    14  
    15  run "second" {
    16    module {
    17      source = "./example"
    18    }
    19  
    20    variables {
    21      input = "update"
    22    }
    23  }