Create
Create an RDS PostgreSQL or MySQL database
tapit create rds engine=<postgres|mysql> name=dbname [variable=DATABASE_URL] [storage=20] [version=14.4] [size=db.t4g.micro] [allowed_ip_ranges=0.0.0.0/0] [multi_az=false] [follower_of=parent_db] [--ignore-existing]
Required
- engine
Parameters
engine: Database engine: postgres or mysql (required, unless follower_of is given)name: Name for the database instancevariable: Environment variable name for the connection URL (default: DATABASE_URL)storage: Storage size in GB (default: 20)version: Database engine versionsize: RDS instance size (default: db.t4g.micro)allowed_ip_ranges: IP address, CIDR ranges, or special values app/vpc/all, that are allowed to access the instance, separated by commasmulti_az: Enable Multi-AZ deployment for high availability (true/false)follower_of: Name of an existing active database to create this database as a read replica (follower) of. The engine is inherited from the parent.--ignore-existing: Skip creation if a resource with the same name already exists (useful for idempotent scripts)