aiwantaozi / aws-rds

Provide a RDS instance of AWS Cloud.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AWS RDS

This module provides the following RDS engines of AWS.

  • MySQL
  • MariaDB
  • PostgreSQL

Notes:

  • Provisioning takes almost 5-10 mins without any SQL initialization.
  • Lockable initializing SQL may cost more time.

Requirements

Name Version
terraform >= 1.0

Providers

Name Version
aws n/a
byteset n/a

Modules

No modules.

Resources

Name Type
aws_db_instance.rds resource
aws_db_instance.rds_replica resource
aws_db_parameter_group.rds resource
aws_db_subnet_group.rds resource
aws_internet_gateway.rds resource
aws_route.rds_internet_gateway resource
aws_security_group.rds resource
aws_security_group_rule.allow_all_tcp resource
aws_subnet.rds resource
aws_vpc.rds resource
byteset_pipeline.init_sql resource
aws_availability_zones.rds data source
aws_subnets.rds data source
aws_vpc.rds data source

Inputs

Name Description Type Default Required
architecture Select the RDS architecture, support from 'Standalone' and 'Replication'. string n/a yes
database Specify the database name to initialize after launching. string "rdsdb" no
engine Select the RDS engine, support serval kinds of 'MySQL', 'MariaDB' and 'PostgreSQL'. string n/a yes
init_sql_url Specify the init SQL download URL to initialize after launching. string "" no
instance_type Specify the instance type to deploy the RDS engine, pick burstable 2C4G type automatically if empty. string "" no
password Specify the root password to initialize after launching. string n/a yes
publicly_accessible Specify to allow publicly accessing. bool false no
storage_type Specify the storage type to deploy the RDS engine, pick GP2 if empty. string "" no
username Specify the root username to initialize after launching. string "rdsusr" no
vpc_id Specify the existing VPC ID to deploy, create a new one if empty. string "" no
walrus_metadata_environment_name Walrus metadata environment name. string "" no
walrus_metadata_project_name Walrus metadata project name. string "" no
walrus_metadata_service_name Walrus metadata service name. string "" no

Outputs

Name Description
db_driver n/a
db_endpoint n/a
db_endpoint_replica n/a
db_host n/a
db_host_replica n/a
db_name n/a
db_password n/a
db_port n/a
db_username n/a

About

Provide a RDS instance of AWS Cloud.


Languages

Language:HCL 100.0%