wip
Signed-off-by: 35C4n0r <work.jaykumar@gmail.com>
This commit is contained in:
parent
19dc50db3e
commit
327f05487d
@ -338,13 +338,13 @@ locals {
|
|||||||
|
|
||||||
# Common environment variables for install script
|
# Common environment variables for install script
|
||||||
install_env_vars = <<-EOT
|
install_env_vars = <<-EOT
|
||||||
ARG_CLAUDE_CODE_VERSION='${var.claude_code_version}' \
|
ARG_CLAUDE_CODE_VERSION='${var.claude_code_version}' \\
|
||||||
ARG_MCP_APP_STATUS_SLUG='${local.app_slug}' \
|
ARG_MCP_APP_STATUS_SLUG='${local.app_slug}' \\
|
||||||
ARG_INSTALL_CLAUDE_CODE='${var.install_claude_code}' \
|
ARG_INSTALL_CLAUDE_CODE='${var.install_claude_code}' \\
|
||||||
ARG_REPORT_TASKS='${var.report_tasks}' \
|
ARG_REPORT_TASKS='${var.report_tasks}' \\
|
||||||
ARG_WORKDIR='${local.workdir}' \
|
ARG_WORKDIR='${local.workdir}' \\
|
||||||
ARG_ALLOWED_TOOLS='${var.allowed_tools}' \
|
ARG_ALLOWED_TOOLS='${var.allowed_tools}' \\
|
||||||
ARG_DISALLOWED_TOOLS='${var.disallowed_tools}' \
|
ARG_DISALLOWED_TOOLS='${var.disallowed_tools}' \\
|
||||||
ARG_MCP='${var.mcp != null ? base64encode(replace(var.mcp, "'", "'\\''")) : ""}'
|
ARG_MCP='${var.mcp != null ? base64encode(replace(var.mcp, "'", "'\\''")) : ""}'
|
||||||
EOT
|
EOT
|
||||||
|
|
||||||
@ -394,7 +394,7 @@ locals {
|
|||||||
chmod +x /tmp/start.sh
|
chmod +x /tmp/start.sh
|
||||||
chmod +x /tmp/remove-last-session-id.sh
|
chmod +x /tmp/remove-last-session-id.sh
|
||||||
|
|
||||||
${local.start_env_vars} \
|
${local.start_env_vars} \\
|
||||||
/tmp/start.sh
|
/tmp/start.sh
|
||||||
EOT
|
EOT
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user