
variable environment {
  description = "Available values:  dev, qa, prod."
}
variable "lambda_name" {
  description = "Lambda function name"
  default     = "new-release-json-blaster"
}

variable "lambda_description" {
  description = "Lambda function description"
  default     = "This function populates new release data to S3"
}
variable "lambda_function_timeout" {
  description = "Lambda function timeout, in seconds"
  default     = "300"
}

variable "lambda_function_environment_variables" {
  description = "Lambda function environment variables"
  type        = "map"
  default     = {
    Environment = "dev"
  }
}

variable "owsrequest_iam_policy" {
  description = "ARN of owsrequest iam policy"
  default     = ""
}

variable "s3_bucket" {
  description = "S3 bucket to save json"
  default     = "arn:aws:s3:::dev-orcdbucket"
}

variable "s3_path" {
  description = "Path within S3 bucket"
  default     = "releases"
}

variable "vpc_security_group_ids" {
  description = "Security groups for Lambda function"
  type        = "list"
  default     = ["sg-351b5751"]
}

variable "vpc_subnet_ids" {
  description = "Subnets in which to run Lambda"
  type        = "list"
  default     = ["subnet-b649dfef"]
}
