Skip to content

Cursor+VSCode modules break when access url differs in template and control plane #416

Open

Description

@matifali

Our vscode-desktop and cursor modules do not work when accees_url on the template and coder server are different.
In our modules, we use data.coder_workspace.me.access_url that comes from the template but the client machine accesses the coder on a different URL.

Builtin VS Code Button works fine.

Activity

  1. EhabY commented on Nov 10, 2025

    @EhabY
    Collaborator

    Hey, can you elaborate a bit on what breaks when the URIs differ? Also a reproducer would be great 👀

  2. matifali commented on Nov 14, 2025

    @matifali
    MemberAuthor

    @EhabY, there is some more context in this internal Slack thread.

  3. gunsodo commented on Mar 4, 2026

    @gunsodo

    We are experiencing this issue as well with Kiro IDE module, noticing that it shares the same code snippet with the VS Code and Cursor. It seems the data.coder_workspace.me.access_url field resolves to the provider config url per implementation in the terraform provider repo.

    Probably due to my misconfiguration - my workaround was to set the url parameter correctly at the coder provider setup. Just in case this helps anyone encountering the same problem.

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

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions