Skip to content

fix(coderd/wsbuilder): correctly evaluate dynamic workspace tag values #15897

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Dec 17, 2024
Prev Previous commit
Next Next commit
formatting
  • Loading branch information
johnstcn committed Dec 17, 2024
commit 5b3c33a5f690df4641e40e6f10dc066c2297a2b4
6 changes: 3 additions & 3 deletions enterprise/coderd/workspaces_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1508,12 +1508,12 @@ func TestWorkspaceTagsTerraform(t *testing.T) {
name: "tag param with default from var",
provisionerTags: map[string]string{"foo": "bar"},
tfWorkspaceTags: `
variable "foo" {
variable "foo" {
type = string
default = "bar"
}
data "coder_parameter" "foo" {
name = "foo"
data "coder_parameter" "foo" {
name = "foo"
type = "string"
default = var.foo
}
Expand Down
Loading