mirror of
https://github.com/coder/coder.git
synced 2025-07-06 15:41:45 +00:00
feat: use preview to compute workspace tags from terraform (#18720)
If using dynamic parameters, workspace tags are extracted using `coder/preview`.
This commit is contained in:
@ -70,6 +70,8 @@ func TestDynamicParametersOwnerSSHPublicKey(t *testing.T) {
|
||||
require.Equal(t, sshKey.PublicKey, preview.Parameters[0].Value.Value)
|
||||
}
|
||||
|
||||
// TestDynamicParametersWithTerraformValues is for testing the websocket flow of
|
||||
// dynamic parameters. No workspaces are created.
|
||||
func TestDynamicParametersWithTerraformValues(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
|
Reference in New Issue
Block a user