regenerate builder mock

This commit is contained in:
Megan Marsh 2019-12-17 13:49:16 -08:00
parent 8490bbc45c
commit b51fca7857
1 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,7 @@ type FlatMockBuilder struct {
RunHook Hook `cty:"run_hook"`
RunUi Ui `cty:"run_ui"`
CancelCalled *bool `cty:"cancel_called"`
GeneratedVars []string `cty:"generated_vars"`
}
// FlatMapstructure returns a new FlatMockBuilder.
@ -44,6 +45,7 @@ func (*FlatMockBuilder) HCL2Spec() map[string]hcldec.Spec {
"run_hook": &hcldec.AttrSpec{Name: "Hook", Type: cty.Bool, Required: false}, /* TODO(azr): could not find type */
"run_ui": &hcldec.AttrSpec{Name: "Ui", Type: cty.Bool, Required: false}, /* TODO(azr): could not find type */
"cancel_called": &hcldec.AttrSpec{Name: "cancel_called", Type: cty.Bool, Required: false},
"generated_vars": &hcldec.AttrSpec{Name: "generated_vars", Type: cty.List(cty.String), Required: false},
}
return s
}