Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (21 sloc) 1010 Bytes

Amazon Aurora Module

This module deploys an Amazon Aurora cluster inside an Amazon VPC.

Amazon Aurora is a MySQL and PostgreSQL compatible relational database built for the cloud, that combines the performance and availability of high-end commercial databases with the simplicity and cost-effectiveness of open source databases.

For more information please refer to the following AWS product page: https://aws.amazon.com/rds/aurora/.

We recommend you deploy the Aurora cluster in the persistence subnets created by our VPC module.

Usage

module "aurora" {
  source = "./modules/database/aws/aurora"

  vpc_id    = "${data.aws_vpc.default.id}"
  subnet_id = "${element(data.aws_subnet_ids.default.ids, 0)}"

  cluster_identifier      = "rds-prod-aurora-cluster"
  database_name           = "magento2"
  master_username         = "magento2"
  master_password         = "production"
  backup_retention_period = 7
  preferred_backup_window = "01:00-02:00"
}
You can’t perform that action at this time.