variable "region" {
  default = "us-east-1"
}

variable "environment" {
  default = "prod"
}

variable "domain_name" {
  description = "Name of domain"
  default     = "theorchard.com"
}

variable "service_name" {
  default = "orcd"
}

variable "service_name_suffix" {
  default = "advertising"
}

# Cloudfront settings
variable "allowed_methods" {
  description = "Allowed HTTP methods for Cloudfront"
  default     = ["HEAD", "GET"]
}

variable "cached_methods" {
  description = "Cached HTTP methods for Cloudfront"
  default     = ["HEAD", "GET"]
}

variable "default_ttl" {
  description = "Default TTL for objects in absence of cache headers"
  default     = "86400"
}

variable "cloudfront_minimum_protocol_version" {
  description = "Minimum SSL protocol"
  default     = "TLSv1.2_2021"
}

variable "cloudfront_logging_bucket" {
  description = "Bucket to use for cloudfront logging"
  default     = "prod-orcd-cloudfront-logs.s3.amazonaws.com"
}

variable "application_family" {
  description = "Application family of which this is a component. Used for tagging"
  default     = "marketing" # this is not a real app family, but it's accurate. 
}

