parent | title | nav_exclude |
---|---|---|
Infrastructure Components |
AWS RDS |
false |
source = "git::https://github.com/slalom-ggp/dataops-infra/tree/main/components/aws/rds?ref=main"
Deploys an RDS-backed database. RDS currently supports the following database engines:
- Aurora
- MySQL
- PostgreSQL
- Oracle
- SQL Server
Each engine type has it's own required configuration. For already-configured database
configurations, see the catalog modules: catalog/aws/mysql
and catalog/aws/postgres
which are built on top of this component module.
- NOTE: Requires AWS policy 'AmazonRDSFullAccess' on the terraform account
No requirements.
The following providers are used by this module:
-
http
-
random
-
aws
The following input variables are required:
Description: Standard name_prefix
module input. (Prefix counts towards 64-character max length for certain resource types.)
Type: string
Description: Standard environment
module input.
Type:
object({
vpc_id = string
aws_region = string
public_subnets = list(string)
private_subnets = list(string)
})
Description: Standard resource_tags
module input.
Type: map(string)
Description: The initial admin username.
Type: string
Description: The type of database to launch. E.g.: aurora
, aurora-mysql
,aurora-postgresql
,
mariadb
,mysql
,oracle-ee
,oracle-se2
,oracle-se1
,oracle-se
,postgres
,
sqlserver-ee
,sqlserver-se
,sqlserver-ex
,sqlserver-web
.
Check RDS documentation for updates to the supported list, and for details on each engine type.
Type: string
Description: When paired with engine
, specifies the version of the database engine to deploy.
Type: string
Description: Optional. Overrides the default JDBC port for incoming SQL connections.
Type: string
The following input variables are optional (have default values):
Description: The initial admin password. Must be 8 characters long.
Type: string
Default: null
Description: The endpoint id which will be used within connection strings and URLs.
Type: string
Default: "rds-db"
Description: The name of the initial database to be created.
Type: string
Default: "default_db"
Description: Enter the desired node type. The default and cheapest option is 'db.t2.micro' @ ~$0.017/hr, or ~$120/mo (https://aws.amazon.com/rds/mysql/pricing/ )
Type: string
Default: "db.t2.micro"
Description: Optional. The ARN for the KMS encryption key used in cluster encryption.
Type: string
Default: null
Description: If true, will allow terraform to destroy the RDS cluster without performing a final backup.
Type: bool
Default: false
Description: The allocated storage value is denoted in GB
Type: string
Default: "20"
Description: List of CIDR blocks which should be allowed to connect to the instance on the JDBC port.
Type: list(string)
Default: []
Description: True to allow the terraform user to connect to the DB instance.
Type: bool
Default: true
The following outputs are exported:
Description: The connection endpoint for the new RDS instance.
Description: Summary of resources created by this module.
Source code for this module is available using the links below.
NOTE: This documentation was auto-generated using
terraform-docs
and s-infra
from slalom.dataops
.
Please do not attempt to manually update this file.