Skip to content

Provide workspace suffix in the terraform provider #360

Description

@matifali

Problem Description

The SSH Host Prefix is being deprecated in favor of a deployment-wide suffix. To build IDE modules (e.g., for Zed) that use the Coder Desktop Connect networking, we need access to this suffix within Terraform. However, it's unclear where this value should be exposed in the Terraform provider.

Desired Solution

Expose the SSH host suffix as a Terraform data source. Possible options include:

  • Introducing data.coder_workspace.me.full_name, which includes the suffix.
  • Creating a new data source (coder_deployment) that includes the suffix and other deployment-wide information e.g, version.
    • data.coder_deployment.me.ssh_suffix
    • data.coder_deployment.me.version
    • and so on.

Related:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions