const variable new TerraformVariable(this, "variable"
{
type: `object({ nodeGroupName = string
instanceTypes = list
minSize = number
desiredSize = number
maxSize = number
})`,
});
How do I create a variable type map or object in CDKTF?
I also tried doing
const variable new TerraformVariable(this, "variable"
{
type: `object({ nodeGroupName :string,
instanceTypes: list,
})`,
});