41 lines
1.0 KiB
Terraform
41 lines
1.0 KiB
Terraform
|
variable "public_cidr" {
|
||
|
description = "Cidr block main"
|
||
|
default = "10.0.0.0/24"
|
||
|
}
|
||
|
variable "main_cidr" {
|
||
|
description = "Cidr block main"
|
||
|
default = "10.0.0.0/16"
|
||
|
}
|
||
|
variable "region" {
|
||
|
description = "Region for deployment"
|
||
|
default = "us-west-2"
|
||
|
}
|
||
|
variable "db_name" {
|
||
|
description = "The name of the database"
|
||
|
default = "jokedb"
|
||
|
}
|
||
|
variable "db_username" {
|
||
|
description = "The user for the database"
|
||
|
default = "jokedbuser"
|
||
|
}
|
||
|
variable "db_password" {
|
||
|
description = "The password for the database"
|
||
|
default = "a4d2410bcc42ebc32af364e15b4bcd5e"
|
||
|
}
|
||
|
variable "db_port" {
|
||
|
description = "The port of the database"
|
||
|
default = "3306"
|
||
|
}
|
||
|
variable "ssh_key" {
|
||
|
description = "Public private key to access the ec2 instance"
|
||
|
default = "./keys/ansible"
|
||
|
}
|
||
|
variable "private_key" {
|
||
|
description = "Private SSH key to access the ec2 instance"
|
||
|
default = "./keys/ansible"
|
||
|
}
|
||
|
variable "public_key" {
|
||
|
description = "Public SSH key to access the ec2 instance"
|
||
|
default = "./keys/ansible.pub"
|
||
|
}
|