mirror of
https://github.com/coder/registry.git
synced 2026-06-02 20:48:14 +00:00
fix: minor boundary bug in claude-code module (#637)
Removing existing boundary directory to allow re-running the script safely
This commit is contained in:
committed by
GitHub
parent
2701dc09af
commit
28fc956110
@@ -13,7 +13,7 @@ Run the [Claude Code](https://docs.anthropic.com/en/docs/agents-and-tools/claude
|
|||||||
```tf
|
```tf
|
||||||
module "claude-code" {
|
module "claude-code" {
|
||||||
source = "registry.coder.com/coder/claude-code/coder"
|
source = "registry.coder.com/coder/claude-code/coder"
|
||||||
version = "4.2.8"
|
version = "4.2.9"
|
||||||
agent_id = coder_agent.main.id
|
agent_id = coder_agent.main.id
|
||||||
workdir = "/home/coder/project"
|
workdir = "/home/coder/project"
|
||||||
claude_api_key = "xxxx-xxxxx-xxxx"
|
claude_api_key = "xxxx-xxxxx-xxxx"
|
||||||
@@ -45,7 +45,7 @@ This example shows how to configure the Claude Code module to run the agent behi
|
|||||||
```tf
|
```tf
|
||||||
module "claude-code" {
|
module "claude-code" {
|
||||||
source = "dev.registry.coder.com/coder/claude-code/coder"
|
source = "dev.registry.coder.com/coder/claude-code/coder"
|
||||||
version = "4.2.8"
|
version = "4.2.9"
|
||||||
agent_id = coder_agent.main.id
|
agent_id = coder_agent.main.id
|
||||||
workdir = "/home/coder/project"
|
workdir = "/home/coder/project"
|
||||||
enable_boundary = true
|
enable_boundary = true
|
||||||
@@ -72,7 +72,7 @@ data "coder_parameter" "ai_prompt" {
|
|||||||
|
|
||||||
module "claude-code" {
|
module "claude-code" {
|
||||||
source = "registry.coder.com/coder/claude-code/coder"
|
source = "registry.coder.com/coder/claude-code/coder"
|
||||||
version = "4.2.8"
|
version = "4.2.9"
|
||||||
agent_id = coder_agent.main.id
|
agent_id = coder_agent.main.id
|
||||||
workdir = "/home/coder/project"
|
workdir = "/home/coder/project"
|
||||||
|
|
||||||
@@ -108,7 +108,7 @@ Run and configure Claude Code as a standalone CLI in your workspace.
|
|||||||
```tf
|
```tf
|
||||||
module "claude-code" {
|
module "claude-code" {
|
||||||
source = "registry.coder.com/coder/claude-code/coder"
|
source = "registry.coder.com/coder/claude-code/coder"
|
||||||
version = "4.2.8"
|
version = "4.2.9"
|
||||||
agent_id = coder_agent.main.id
|
agent_id = coder_agent.main.id
|
||||||
workdir = "/home/coder/project"
|
workdir = "/home/coder/project"
|
||||||
install_claude_code = true
|
install_claude_code = true
|
||||||
@@ -130,7 +130,7 @@ variable "claude_code_oauth_token" {
|
|||||||
|
|
||||||
module "claude-code" {
|
module "claude-code" {
|
||||||
source = "registry.coder.com/coder/claude-code/coder"
|
source = "registry.coder.com/coder/claude-code/coder"
|
||||||
version = "4.2.8"
|
version = "4.2.9"
|
||||||
agent_id = coder_agent.main.id
|
agent_id = coder_agent.main.id
|
||||||
workdir = "/home/coder/project"
|
workdir = "/home/coder/project"
|
||||||
claude_code_oauth_token = var.claude_code_oauth_token
|
claude_code_oauth_token = var.claude_code_oauth_token
|
||||||
@@ -203,7 +203,7 @@ resource "coder_env" "bedrock_api_key" {
|
|||||||
|
|
||||||
module "claude-code" {
|
module "claude-code" {
|
||||||
source = "registry.coder.com/coder/claude-code/coder"
|
source = "registry.coder.com/coder/claude-code/coder"
|
||||||
version = "4.2.8"
|
version = "4.2.9"
|
||||||
agent_id = coder_agent.main.id
|
agent_id = coder_agent.main.id
|
||||||
workdir = "/home/coder/project"
|
workdir = "/home/coder/project"
|
||||||
model = "global.anthropic.claude-sonnet-4-5-20250929-v1:0"
|
model = "global.anthropic.claude-sonnet-4-5-20250929-v1:0"
|
||||||
@@ -260,7 +260,7 @@ resource "coder_env" "google_application_credentials" {
|
|||||||
|
|
||||||
module "claude-code" {
|
module "claude-code" {
|
||||||
source = "registry.coder.com/coder/claude-code/coder"
|
source = "registry.coder.com/coder/claude-code/coder"
|
||||||
version = "4.2.8"
|
version = "4.2.9"
|
||||||
agent_id = coder_agent.main.id
|
agent_id = coder_agent.main.id
|
||||||
workdir = "/home/coder/project"
|
workdir = "/home/coder/project"
|
||||||
model = "claude-sonnet-4@20250514"
|
model = "claude-sonnet-4@20250514"
|
||||||
|
|||||||
@@ -48,6 +48,13 @@ function install_boundary() {
|
|||||||
if [ "${ARG_COMPILE_FROM_SOURCE:-false}" = "true" ]; then
|
if [ "${ARG_COMPILE_FROM_SOURCE:-false}" = "true" ]; then
|
||||||
# Install boundary by compiling from source
|
# Install boundary by compiling from source
|
||||||
echo "Compiling boundary from source (version: $ARG_BOUNDARY_VERSION)"
|
echo "Compiling boundary from source (version: $ARG_BOUNDARY_VERSION)"
|
||||||
|
|
||||||
|
echo "Removing existing boundary directory to allow re-running the script safely"
|
||||||
|
if [ -d boundary ]; then
|
||||||
|
rm -rf boundary
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "Clone boundary repository"
|
||||||
git clone https://github.com/coder/boundary.git
|
git clone https://github.com/coder/boundary.git
|
||||||
cd boundary
|
cd boundary
|
||||||
git checkout "$ARG_BOUNDARY_VERSION"
|
git checkout "$ARG_BOUNDARY_VERSION"
|
||||||
|
|||||||
Reference in New Issue
Block a user