Files
airun-pathfinder-crud-pricing/terraform/variables.tf
James Bland e88609d724
All checks were successful
kinec.tech/airun-pathfinder-crud-pricing/pipeline/head This commit looks good
feat: crud-pricing initial implementation
Complete CRUD service for AWS pricing operations - single source of truth.

Features:
- Dual pricing model (retail + account-specific with auto EDP/PPA detection)
- Get/Put pricing operations with intelligent caching
- AWS Pricing API integration for public list prices
- AWS Cost Explorer integration for account-specific pricing
- Access counting for self-learning 14-day refresh
- Query most-accessed instances (powers smart refresh)
- TTL: 30 days (retail), 7 days (account-specific)

Architecture:
- All other lambdas use this for pricing operations
- No direct DynamoDB access from other components
- Consistent schema enforcement
- Complete IAM setup for Pricing API, Cost Explorer, STS

Infrastructure:
- Complete Terraform configuration
- Full CI/CD pipeline (Jenkinsfile)
- Comprehensive documentation
- Production-ready scaffolding

Part of Phase 1 - foundation for pricing system.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-27 04:20:56 -05:00

42 lines
829 B
HCL

variable "environment" {
description = "Environment name (dev, staging, prod)"
type = string
default = "dev"
}
variable "aws_region" {
description = "AWS region for deployment"
type = string
default = "us-east-1"
}
variable "lambda_timeout" {
description = "Lambda timeout in seconds"
type = number
default = 60
}
variable "lambda_memory" {
description = "Lambda memory in MB"
type = number
default = 512
}
variable "log_level" {
description = "Rust log level"
type = string
default = "info"
}
variable "log_retention_days" {
description = "CloudWatch log retention in days"
type = number
default = 7
}
variable "table_name" {
description = "DynamoDB table name for pricing"
type = string
default = ""
}