-
Notifications
You must be signed in to change notification settings - Fork 952
Closed
Labels
must-doIssues that must be completed by the end of the Sprint. Or else. Only humans may set this.Issues that must be completed by the end of the Sprint. Or else. Only humans may set this.need-backendIssues that need backend workIssues that need backend work
Description
The coder_workspace_tags
data source is not respected or read from the template during template imports, but it works for template builds. As a workaround, the admin must run a generic provisioner simply for template imports AND/OR set tags manually in the template UI.
This is a bad workaround as certain provisioners must be run just for template imports. From #15047:
It's definitely a bug that we don't process coder_workspace_tags for template import jobs. A full fix would have us directly inspect the HCL on coderd to find the coder_workspace_tags and the coder_parameters, then resolve the tags based on the parameters passed to the import job.
Related PRs:
- feat(provisioner/terraform/tfparse): implement WorkspaceTagDefaultsFromFile #15236
- Upcoming PR to evaluate in template imports
Metadata
Metadata
Assignees
Labels
must-doIssues that must be completed by the end of the Sprint. Or else. Only humans may set this.Issues that must be completed by the end of the Sprint. Or else. Only humans may set this.need-backendIssues that need backend workIssues that need backend work