Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions docs/VERSION_BUMP_PLAYBOOK.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ This document provides a checklist for bumping the version of FAST (Fullstack Ag
3. **`frontend/package.json`** - Frontend package version (`"version": "X.Y.Z"`)
4. **`infra-cdk/package.json`** - CDK package version (`"version": "X.Y.Z"`)
5. **`infra-cdk/lib/fast-main-stack.ts`** - Stack description (`(vX.Y.Z)`)
6. **`infra-terraform/VERSION`** - Terraform compatibility version (only update if TF is verified compatible with the new FAST version; see `infra-terraform/TF_VERSION_BUMP_PLAYBOOK.md`)
7. **`CHANGELOG.md`** - Add new version entry at top
6. **`infra-terraform/VERSION`** - Terraform compatibility version (`X.X.X-tf.X`)(only update if TF is verified compatible with the new FAST version; see `infra-terraform/TF_VERSION_BUMP_PLAYBOOK.md`)
7. **`infra-terraform/main.tf`** - Stack description (`(vX.X.X-tf.X)`) (only update if TF is verified compatible with the new FAST version; see `infra-terraform/TF_VERSION_BUMP_PLAYBOOK.md`)
8. **`CHANGELOG.md`** - Add new version entry at top

## Auto-Generated Files (DO NOT manually update)

Expand Down
5 changes: 3 additions & 2 deletions infra-terraform/TF_VERSION_BUMP_PLAYBOOK.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,9 @@ Example:
## Procedure

1. Update `infra-terraform/VERSION` with the new version
2. Update `CHANGELOG.md` with `[Terraform]` labeled entries
3. Commit, tag with `v<VERSION>`, and push
2. Update `infra-terraform/main.tf` with the new version in the Cloudformation stack description
3. Update `CHANGELOG.md` with `[Terraform]` labeled entries
4. Commit, tag with `v<VERSION-tf.X>`, and push

```bash
git tag v$(cat infra-terraform/VERSION)
Expand Down
2 changes: 1 addition & 1 deletion infra-terraform/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.4.0-tf.0
0.4.0-tf.1
21 changes: 21 additions & 0 deletions infra-terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,24 @@ module "backend" {

depends_on = [module.cognito, module.amplify_hosting]
}

# =============================================================================
# Solution Tag (CloudFormation)
# =============================================================================
# Empty CloudFormation stack for AWS solution tag indicator.
# Maps to: CDK FastMainStack description

resource "aws_cloudformation_stack" "solution_tag" {
name = "${var.stack_name_base}-solution-tag"

template_body = jsonencode({
AWSTemplateFormatVersion = "2010-09-09"
Description = "Fullstack AgentCore Solution Template (v0.4.0-tf.1) (uksb-v6dos0t5g8) (tag: terraform)"
Resources = {
NullResource = {
Type = "AWS::CloudFormation::WaitConditionHandle"
}
}
})
#checkov:skip=CKV_AWS_124: Empty stack used only as a solution tag indicator; SNS notifications not needed
}
Loading