Releases: aws-samples/sample-pricing-assistant-for-aws
v1.1.0 - HCL Terraform parsing + dependency bumps
What changed
Bug fixes
- Native HCL Terraform parsing. Uploads of
.tffiles were silently dropped before reaching the model — the parser only handled Terraform's JSON syntax and threw on HCL. We now use@cdktf/hcl2jsonfor HCL with a JSON fallback for.tf.json. Any infrastructure file where the structured parser produces zero resources also falls back to a raw-content path so the model still sees the source. Body is capped at 200KB to protect the prompt budget.
Dependency updates
uuid9.0.1 → 14.0.0 (closes Dependabot PR #2). Requires Node 20+; both Dockerfiles already usenode:20-alpine.@types/uuidremoved since uuid v10+ ships its own types.express4.18.2 → 4.22.2 (transitively bumpsqs6.14 → 6.15.1, closes Dependabot PR #1).
Disclaimer
This is sample code, for non-production usage. Cost figures are AI-generated and may be inaccurate — always verify against the AWS Pricing Calculator before purchasing decisions.
v1.0.0 - Initial public release
First public release of the AWS Pricing Assistant — a sample reference architecture that helps customers estimate AWS costs through natural-language conversation.
What's in this release
- Conversational pricing UX: Real-time chat with streaming responses, file upload (CloudFormation, Terraform, CDK), dark/light theme
- Live AWS pricing data: Bedrock Converse API with inline tool use against the AWS Pricing API and Savings Plans API — no stale training data
- Two Claude models: Default Claude Opus 4.6, optional Claude Sonnet 4.5 (both via cross-region inference profiles)
- Production-ready architecture: Frontend + backend on ECS Fargate, internal ALB locked to the CloudFront prefix list, AWS WAF rate limiting, Bedrock Guardrails
- Cost guardrails: AWS Budget hard cap with auto-attached deny IAM policy on breach
- Optional authentication: Cognito user pool with admin-managed users (name attribute), FIDO2 passkeys via Amplify v6 (Touch ID, Windows Hello, YubiKey, etc.) with friendly names backed by DynamoDB, optional/mandatory TOTP MFA — flippable at runtime via the `AuthEnabled` CloudFormation parameter
- GitOps deployment: 9-stack CloudFormation deployment driven by AWS CodePipeline
Disclaimer
This is sample code, for non-production usage. You should work with your security and legal teams to meet your organizational security, regulatory and compliance requirements before deployment. Cost figures returned by this application are AI-generated and may be inaccurate — always verify estimates against the AWS Pricing Calculator before making purchasing decisions.
Getting started
See `README.md` for setup instructions.