Description
In coder/coder#13122 a user sees empty values when referencing ${data.coder_workspace.me.template_id}
in their template. This happens because their coder server version is behind the provider, and this kind of issue will continue to appear as we implement more provider functionality (#220, #219).
There are two things we should do to fix this:
-
In our docs under each attribute and resource, declare the Coder version requirements
-
Replace code like:
terraform-provider-coder/provider/workspace.go
Lines 83 to 90 in 3cc9802
with LookupEnv
and fail the build when a value is missing instead of using blanks.