Browse the Repo

file-type-icon.circleci
file-type-icon_docs
file-type-iconexamples
file-type-iconmodules
file-type-iconaurora
file-type-iconefs
file-type-iconlambda-cleanup-snapshots
file-type-iconlambda-copy-shared-snapshot
file-type-iconlambda-create-snapshot
file-type-iconlambda-share-snapshot
file-type-iconrds
file-type-iconREADME-MariaDb.adoc
file-type-iconREADME-MySQL.adoc
file-type-iconREADME-Oracle.adoc
file-type-iconREADME-PostgreSQL.adoc
file-type-iconREADME-SqlServer.adoc
file-type-iconREADME.adoc
file-type-iconcore-concepts.md
file-type-iconmain.tf
file-type-iconoutputs.tf
file-type-iconvars.tf
file-type-iconredshift
file-type-icontest
file-type-icon.gitignore
file-type-icon.pre-commit-config.yaml
file-type-iconCODEOWNERS
file-type-iconLICENSE.txt
file-type-iconREADME.adoc
file-type-iconterraform-cloud-enterprise-private-module-...

Browse the Repo

file-type-icon.circleci
file-type-icon_docs
file-type-iconexamples
file-type-iconmodules
file-type-iconaurora
file-type-iconefs
file-type-iconlambda-cleanup-snapshots
file-type-iconlambda-copy-shared-snapshot
file-type-iconlambda-create-snapshot
file-type-iconlambda-share-snapshot
file-type-iconrds
file-type-iconREADME-MariaDb.adoc
file-type-iconREADME-MySQL.adoc
file-type-iconREADME-Oracle.adoc
file-type-iconREADME-PostgreSQL.adoc
file-type-iconREADME-SqlServer.adoc
file-type-iconREADME.adoc
file-type-iconcore-concepts.md
file-type-iconmain.tf
file-type-iconoutputs.tf
file-type-iconvars.tf
file-type-iconredshift
file-type-icontest
file-type-icon.gitignore
file-type-icon.pre-commit-config.yaml
file-type-iconCODEOWNERS
file-type-iconLICENSE.txt
file-type-iconREADME.adoc
file-type-iconterraform-cloud-enterprise-private-module-...
RDS

RDS

Terraform code and scripts for deploying data-storage resources (e.g. databases, cache) in AWS

Code Preview

Preview the Code

mobile file icon

vars.tf

down
  • # ----------------------------------------------------------------------------------------------------------------------
  • # REQUIRED PARAMETERS
  • # These variables must be passed in by the templates using this module.
  • # ----------------------------------------------------------------------------------------------------------------------
  • variable "name" {
  • description = "The name used to namespace all resources created by these templates, including the DB instance (e.g. drupaldb). Must be unique for this region. May contain only lowercase alphanumeric characters, hyphens, underscores, periods, and spaces."
  • type = string
  • }
  • variable "db_name" {
  • description = "The name for your database of up to 8 alpha-numeric characters. If you do not provide a name, Amazon RDS will not create a database in the DB cluster you are creating."
  • type = string
  • default = null
  • }
  • variable "master_username" {
  • description = "The username for the master user. Required unless var.replicate_source_db is set."
  • type = string
  • default = null
  • }
  • variable "master_password" {
  • description = "The password for the master user. If var.snapshot_identifier is non-empty, this value is ignored. Required unless var.replicate_source_db is set."
  • type = string

Questions? Ask away.

We're here to talk about our services, answer any questions, give advice, or just to chat.

Ready to hand off the Gruntwork?