Skip to content

Commit 15f44f3

Browse files
committed
refactor: rename StrandsAgent to FASTAgent in CDK and Terraform
Rename the default agent name from StrandsAgent to FASTAgent since the template is framework-agnostic and supports multiple patterns. Updated in: - infra-cdk/lib/backend-stack.ts (CfnParameter default) - infra-terraform/modules/backend/locals.tf - infra-terraform/README.md Note: the CDK change is slightly out of scope for this Terraform-focused PR but included here to keep the two infra tools in sync.
1 parent 06cc0d0 commit 15f44f3

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

infra-cdk/lib/backend-stack.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export class BackendStack extends cdk.NestedStack {
102102
// Parameters
103103
this.agentName = new cdk.CfnParameter(this, "AgentName", {
104104
type: "String",
105-
default: "StrandsAgent",
105+
default: "FASTAgent",
106106
description: "Name for the agent runtime",
107107
})
108108

infra-terraform/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Terraform uses flat variables with a `backend_` prefix to mirror the CDK's neste
6666
| `backend.vpc.subnet_ids` | `backend_vpc_subnet_ids` |
6767
| `backend.vpc.security_group_ids` | `backend_vpc_security_group_ids` |
6868

69-
Values that are hardcoded in CDK (not in `config.yaml`) are defined as module-internal locals in Terraform: agent name (`StrandsAgent`), memory event expiry (30 days), callback URLs, and password minimum length.
69+
Values that are hardcoded in CDK (not in `config.yaml`) are defined as module-internal locals in Terraform: agent name (`FASTAgent`), memory event expiry (30 days), callback URLs, and password minimum length.
7070

7171
## Module Structure
7272

infra-terraform/modules/backend/locals.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ locals {
2222
# Stack name for resource naming (underscores for some AWS resources)
2323
stack_name_underscore = replace(var.stack_name_base, "-", "_")
2424

25-
# Agent name (matches CDK CfnParameter default in backend-stack.ts)
26-
agent_name = "StrandsAgent"
25+
# Agent name used in runtime naming
26+
agent_name = "FASTAgent"
2727

2828
# Runtime name (underscores required by AgentCore)
2929
runtime_name = "${local.stack_name_underscore}_${local.agent_name}"

0 commit comments

Comments
 (0)