Skip to content
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

Provide workspace suffix in the terraform provider #360

Open
matifali opened this issue Mar 10, 2025 · 0 comments
Open

Provide workspace suffix in the terraform provider #360

matifali opened this issue Mar 10, 2025 · 0 comments

Comments

@matifali
Copy link
Member

matifali commented Mar 10, 2025

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant