fix(provisioner/terraform/tfparse): allow empty values in coder_workspace_tag defaults (#16303)

* chore(docs): update docs re workspace tag default values
* chore(coderdenttest): use random name instead of t.Name() in newExternalProvisionerDaemon
* fix(provisioner/terraform/tfparse): allow empty values in coder_workspace_tag defaults
This commit is contained in:
Cian Johnston
2025-01-28 09:11:39 +00:00
committed by GitHub
parent f5186699ad
commit 76adde91dc
8 changed files with 90 additions and 32 deletions

View File

@ -62,11 +62,6 @@ variables and parameters. This is illustrated in the table below:
## Constraints
### Default Values
All template variables and `coder_parameter` data sources **must** provide a
default value. Failure to do so will result in an error.
### Tagged provisioners
It is possible to choose tag combinations that no provisioner can handle. This
@ -127,6 +122,6 @@ variables, and references to other resources.
#### Not supported
- Function calls: `try(var.foo, "default")`
- Function calls that reference files on disk: `abspath`, `file*`, `pathexpand`
- Resources: `compute_instance.dev.name`
- Data sources other than `coder_parameter`: `data.local_file.hostname.content`