Database services
Stackmate offers infrastructure deployment for major managed database services (like AWS RDS for example)
What you get when introducing this service to your configuration
A managed database instance with sane defaults
Required attributes
type
- string - It should be eithermysql
,postgresql
ormariadb
Optional attributes
provider
- string - by default is set toaws
size
- string - The instance size. Should be one of the instances the cloud provider has availableversion
- string - The database version to use. These are dictated by the cloud provider (eg. AWS) and it's one of the versions they currently support.storage
- number - The size of the storage space in Gigabytesdatabase
- string - The name of the database to deployport
- number - The port to use. By default,3306
is assigned tomysql
andmariadb
and5432
forpostgresql
monitoring
- object - Any monitoring options available for the service. Example configuration is shown below
The typical Common Service Options apply here too.
Credentials for the root user:
The password for the root user associated with the database, is stored as a secret on your provider, you can link directly to it through your provider's secret manager (eg. AWS secrets manager)
Example configuration
Last updated