first claude draft
This commit is contained in:
70
infra/aws/terraform/variables.tf
Normal file
70
infra/aws/terraform/variables.tf
Normal file
@@ -0,0 +1,70 @@
|
||||
# Variables for System Monitor Platform
|
||||
|
||||
variable "aws_region" {
|
||||
description = "AWS region to deploy to"
|
||||
type = string
|
||||
default = "us-east-1"
|
||||
}
|
||||
|
||||
variable "environment" {
|
||||
description = "Environment name (dev, staging, prod)"
|
||||
type = string
|
||||
default = "staging"
|
||||
}
|
||||
|
||||
variable "project_name" {
|
||||
description = "Project name for resource naming"
|
||||
type = string
|
||||
default = "sysmonstm"
|
||||
}
|
||||
|
||||
variable "domain_name" {
|
||||
description = "Domain name for the service"
|
||||
type = string
|
||||
default = "sysmonstm.mcrn.ar"
|
||||
}
|
||||
|
||||
# EC2 Configuration
|
||||
variable "ec2_instance_type" {
|
||||
description = "EC2 instance type"
|
||||
type = string
|
||||
default = "t2.small"
|
||||
}
|
||||
|
||||
variable "ec2_key_name" {
|
||||
description = "SSH key pair name"
|
||||
type = string
|
||||
default = ""
|
||||
}
|
||||
|
||||
variable "allowed_ssh_cidrs" {
|
||||
description = "CIDR blocks allowed to SSH"
|
||||
type = list(string)
|
||||
default = [] # Set to your IP for security
|
||||
}
|
||||
|
||||
# Lambda Configuration
|
||||
variable "lambda_memory_size" {
|
||||
description = "Lambda function memory in MB"
|
||||
type = number
|
||||
default = 256
|
||||
}
|
||||
|
||||
variable "lambda_timeout" {
|
||||
description = "Lambda function timeout in seconds"
|
||||
type = number
|
||||
default = 60
|
||||
}
|
||||
|
||||
# Feature flags
|
||||
variable "enable_lambda_pipeline" {
|
||||
description = "Enable Lambda data processing pipeline"
|
||||
type = bool
|
||||
default = false
|
||||
}
|
||||
|
||||
variable "enable_s3_backup" {
|
||||
description = "Enable S3 backup for metrics"
|
||||
type = bool
|
||||
default = false
|
||||
}
|
||||
Reference in New Issue
Block a user