File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
registry/coder/modules/claude-code Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -95,6 +95,26 @@ module "claude-code" {
9595}
9696```
9797
98+ ### Usage with Claude Code Subscription
99+
100+ ``` tf
101+
102+ variable "claude_code_oauth_token" {
103+ type = string
104+ description = "Generate one using `claude setup-token` command"
105+ sensitive = true
106+ value = "xxxx-xxx-xxxx"
107+ }
108+
109+ module "claude-code" {
110+ source = "registry.coder.com/coder/claude-code/coder"
111+ version = "3.0.0"
112+ agent_id = coder_agent.example.id
113+ workdir = "/home/coder/project"
114+ claude_code_oauth_token = var.claude_code_oauth_token
115+ }
116+ ```
117+
98118## Troubleshooting
99119
100120If you encounter any issues, check the log files in the ` ~/.claude-module ` directory within your workspace for detailed information.
You can’t perform that action at this time.
0 commit comments