- Notifications
You must be signed in to change notification settings - Fork928
Closed as not planned
Closed as not planned
Description
Add a new datasource typecoder_parameter
which can be used instead of native terraform variables:
data"coder_parameter""test" {title="this is a test var"description="hi"type="number"level="workspace"immutable=truerequired=truevalidation={ max=10 min=0 regex="(?i)^s"# options only applies for type = "string" options= [ { name="option 1" value="option_1" description="option 1 description" } ] }}
and used likedata.coder_parameter.test.value
(syntax subject to change).
Also, process these objects during plans so we can store them as parameters in the database as well as their validations and stuff.