Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat(coder-attach): add coder_external_agent resource#424

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
kacpersaw merged 2 commits intomainfromkacpersaw/feat-coder-attach
Aug 8, 2025

Conversation

kacpersaw
Copy link
Contributor

This PR introduces a new Terraform resourcecoder_external_agent that allows users to define external agents for use in workspaces. It allows the coder UI and coder/coder to detect and act on external agent presence.

This is part ofcoder/coder#19091

func TestExternalAgent(t *testing.T) {
t.Parallel()

t.Run("OK", func(t *testing.T) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Should also have a test that links this resource to acoder_agent.

Comment on lines 23 to 29
"token": {
ForceNew: true,
Required: true,
Sensitive: true,
Description: "Set the environment variable `CODER_AGENT_TOKEN` with this token to authenticate an agent.",
Type: schema.TypeString,
},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I don't understand linking these based on the token value rather than just the ID value of the agent. It seems like we'd want to be able to configure the auth type on thecoder_agent and have that also apply here.

@kacpersawkacpersaw merged commite04ea9c intomainAug 8, 2025
6 checks passed
@kacpersawkacpersaw deleted the kacpersaw/feat-coder-attach branchAugust 8, 2025 08:00
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsAug 8, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@deansheatherdeansheatherdeansheather approved these changes

Assignees

@kacpersawkacpersaw

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@kacpersaw@deansheather

[8]ページ先頭

©2009-2025 Movatter.jp