Skip to content

Instantly share code, notes, and snippets.

@katesclau
Created December 13, 2016 00:36
Show Gist options
  • Save katesclau/7883476d129eab558fb095bb9ce7a145 to your computer and use it in GitHub Desktop.
Save katesclau/7883476d129eab558fb095bb9ce7a145 to your computer and use it in GitHub Desktop.
variables snippet for RDS
# Database =================================================
# Name
variable "rds_name" { default = "cluster-tut-mariadb" }
# Instance class
variable "db_instance_class" { default = "db.t2.micro" } # Free tier
# Storage
variable "db_storage" { default = 20 } # Free tier max
variable "db_storage_type" { default = "standard" } # Free tier
# DB Engine
variable "db_engine" { default = "mariadb" }
# Database configuration
# user and password stored on database_credentials.tf
variable "db_name" { default = "base" }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment