Skip to content

A Terraform Module to setup a pre-configured RDS MySQL instance

Notifications You must be signed in to change notification settings

MaterializeInc/terraform-aws-rds-mysql

Repository files navigation

Materialize + MySQL RDS + Terraform

Terraform module for deploying a new RDS MySQL instance and connecting it to Materialize.

For the manual setup, see the Materialize + RDS documentation.

Warning This is provided on a best-effort basis and Materialize cannot offer support for this module.

The module has been tested with MySQL 8.0.36 and MySQL 5.7.44.

Requirements

Name Version
aws ~> 5.0

Providers

Name Version
aws ~> 5.0
http n/a
random n/a

Modules

Name Source Version
vpc terraform-aws-modules/vpc/aws 5.5.2

Resources

Name Type
aws_db_instance.mz_rds_demo_db resource
aws_db_parameter_group.mz_rds_demo_mysql_pg resource
aws_db_subnet_group.mz_rds_demo_db_subnet_group resource
aws_security_group.mz_rds_demo_sg resource
random_string.mz_rds_demo_db_password resource
aws_availability_zones.available data source
http_http.user_public_ip data source

Inputs

Name Description Type Default Required
aws_region AWS region string "us-west-1" no
engine_version The engine version of the MySQL RDS instance string "8.0.36" no
mz_egress_ips List of Materialize egress IPs list(any) n/a yes
publicly_accessible Whether the RDS instance is publicly accessible or not bool true no
rds_instance_class The size of the RDS instance string "db.m5.large" no
rds_instance_name The name of the RDS instance string n/a yes

Outputs

Name Description
mz_rds_mysql_details n/a
rds_instance n/a
vpc n/a

About

A Terraform Module to setup a pre-configured RDS MySQL instance

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages