Skip to content

Commit 97cc37e

Browse files
modifying initial prompt to start prototyping app in workspace
1 parent 087a132 commit 97cc37e

File tree

4 files changed

+70
-53
lines changed

4 files changed

+70
-53
lines changed

templates/kubernetes-awsrag-with-claude-code/aws-aurora/aurora-pgvector.tf

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,23 @@ variable "subnet_ids" {
1010
type = list(string)
1111
default = ["subnet-0f0535010fd77a0c3", "subnet-00cbe04ad50f37808", "subnet-0bdc79d34b7380f1b"] # Replace with your actual subnet IDs
1212
}
13+
#Variables for Aurora PostgreSQL Serverless v2
14+
15+
variable "database_name" {
16+
description = "Name of the database to be created"
17+
type = string
18+
default = "mydb"
19+
}
20+
variable "db_master_username" {
21+
description = "Master username for the database"
22+
type = string
23+
default = "dbadmin"
24+
}
25+
variable "db_master_password" {
26+
description = "Master password for the database"
27+
type = string
28+
default = "YourStrongPasswordHere1" # Consider using AWS Secrets Manager for production
29+
}
1330

1431
# Reference existing VPC
1532
data "aws_vpc" "existing_vpc" {

templates/kubernetes-awsrag-with-claude-code/main.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ data "coder_parameter" "ai_prompt" {
8888
type = "string"
8989
name = "AI Prompt"
9090
icon = "/emojis/1f4ac.png"
91-
description = "Write a task prompt for Claude. This will be the first action it will attempt to finish."
92-
default = "Do nothing but report a 'task completed' update to Coder"
91+
description = "Create a task prompt for Claude Code"
92+
default = "Look for an AWS RAG Prototyping repo in the Coder Workspace. If found, create a new Python3 virtual environment, pip install the requirements.txt and then start the app via streamlit."
9393
mutable = false
9494
}
9595

@@ -194,7 +194,7 @@ module "code-server" {
194194
version = "1.0.18"
195195
agent_id = coder_agent.dev.id
196196
order = 1
197-
folder = "/home/${data.coder_workspace.me.id}/${module.git_clone[count.index].folder_name}"
197+
folder = "/home/coder"
198198
}
199199

200200
module "claude-code" {

templates/terraform.tfstate

Lines changed: 27 additions & 27 deletions
Large diffs are not rendered by default.

templates/terraform.tfstate.backup

Lines changed: 23 additions & 23 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)