Files
doczyai-pipelines/streamlit-server/variables.tf
T
2024-06-12 17:46:35 +02:00

75 lines
1.3 KiB
Terraform

# required
variable "aws_region" {
type = string
default = "us-east-2"
}
# required
variable "project_name" {
type = string
default = "doczyai"
}
# required
variable "environment" {
type = string
}
variable "client_list" {
type = map(object({
client_name = string
}))
default = {
client1 = {
client_name = "cn1"
}
}
}
variable "vpc_id" {
type = string
}
# variable "ubuntu_ami" {
# type = string
# default = "ami-0de7e97fedfbc6ef6" # Switch to this ami-0b8b44ec9a8f90422
# }
variable "ubuntu_ami" {
type = map(string)
default = {
dev = "ami-0de7e97fedfbc6ef6"
uat = "ami-0b8b44ec9a8f90422"
}
}
variable "ec2_instance_type" {
type = string
default = "t2.large"
}
# Cerate an array of ARNS
variable "SecretsNames"{
type = list(string)
default = []
}
variable "acm_arn_dev" {
type = string
default = "arn:aws:acm:us-east-2:660131068782:certificate/947e04b3-be22-43bf-bea2-a0ad3b221d70"
}
variable "acm_arns" {
type = map(string)
default = {
dev = "arn:aws:acm:us-east-2:660131068782:certificate/947e04b3-be22-43bf-bea2-a0ad3b221d70"
uat = "arn:aws:acm:us-east-2:975049960860:certificate/e036e76d-1f4f-496e-ac97-5f65ec4a34cc"
prod = "arn:aws:acm:region:account-id:certificate/prod-cert-id"
}
}
variable "key_name" {
}