You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a data.coder_workspace data source that gives Terraform context about the workspace being built:
Workspace name
Workspace owner
Deployment URL
Context
There are some cases where the admin may want Terraform to be aware of the template name being built, primarily for labeling for cost controls or analytics. While this can be hardcoded per-template in small deployments, it does not scale or work well when a large amount of the template is managed via a Terraform module
Proposal
Extend the coder_workspace data source and add the two read-only properties: