RDS

Guide for understanding and configuring an RDS stack

The RDS stack is an add-on AWS RDS instance or cluster deployed into an existing network.

Variables

Variable NameTypeDescription
regionstring(Required) The region to deploy the RDS cluster - must match the data_subnets region.
sizestring(Required) Plan size. Must be one of dev, micro, mini, small, medium, large, or xlarge.
↳dev20 GiB disk, MySQL
↳micro20 GiB disk, MySQL
↳mini20 GiB disk, MySQL
↳small100 GiB disk, MySQL
↳medium100 GiB disk, aurora-mysql
↳large100 GiB disk, aurora-mysql
↳xlarge100 GiB disk, aurora-mysql
data_disk_sizenumberOptional. The dedicated disk capacity (measured in gibibytes, GiB) provisioned for your database instance. Ignored when using Aurora. This will override the size defaults.
data_subnetslist(string) or string(Required) Array of subnet IDs [primary, secondary]. May also be a reference to another stack’s output.
db_usernamestringOptional. Database username. Defaults to magento
stacker_variablesobjectOptional configurations for MySQL.
↳mysql.variantstringEngine variant (e.g., mysql, aurora-mysql). Default depends on the plan size.
↳mysql.versionstring"8.0" / "8.0.mysql_aurora.3.06.0"Engine version override. Defaults to "8.0" for the mysql variant and "8.0.mysql_aurora.3.06.0" for the aurora-mysql variant.
↳mysql.snapshot_identifierstringSnapshot identifier to restore the database from.

Example:

{
  "type": "rds",
  "environment": "/v2/environments/tu8aovkn7waj",
  "service": "/v2/services/2tpkjj7e0b28",
  "name": "RDS",
  "variables": {
    "size": "medium",
    "region": "us-east-1",
    "data_subnets": "/v2/stacks/4d4d1d4koe12/outputs/data_subnets"
    "stacker_variables":{
      "mysql": {
        "snapshot_identifier": "arn:aws:rds:us-east-1:123456789012:cluster-snapshot:my-snapshot-08242026"
      }
    }
  }
}

Outputs

Output nameDescription
db_endpointThe connection endpoint for the RDS database.
db_password_secret_nameThe name of the Secrets Manager secret containing the RDS password.
Have questions not answered here? Contact Support to get more help.

Last modified on September 9, 2026