CDKTF TerraformHclModule add addtional input variable

      const data_module = new TerraformHclModule(this, "data_module", {
            source: "git::https://dev.azure.com/project/repo",
            variables: {
               is_dmz: true,
               is_production: true,
            }
          }
        )

It would be great to have be able to add additional variable, ie: location

data_module.variables.location="muse2"

I tried, it didn’t work.

1 Like