SELECT * FROM iasql_install('<modules>');
INSERT INTO subnet_group (subnet_group_name)
VALUES ('<subnetGroupName>');
SELECT *
FROM subnet_group
WHERE subnet_group_name = '<subnetGroupName>';
UPDATE subnet_group
SET description = 'Short desc'
WHERE subnet_group_name = '<subnetGroupName>';
INSERT INTO memory_db_cluster (cluster_name, subnet_group_id)
VALUES ('<clusterName>', (select id from subnet_group where subnet_group_name = '<subnetGroupName>'));
INSERT INTO memory_db_cluster_security_groups (security_group_id, memory_db_cluster_id, region)
VALUES ((select id from security_group where group_name = 'default' and region = '<region>'), (select id from memory_db_cluster where cluster_name = '<clusterName>'), '<region>');
SELECT *
FROM memory_db_cluster
WHERE cluster_name = '<clusterName>';
UPDATE memory_db_cluster
SET description = 'Short desc'
WHERE cluster_name = '<clusterName>';
DELETE FROM memory_db_cluster
WHERE cluster_name = '<clusterName>';
DELETE FROM subnet_group
WHERE subnet_group_name = '<subnetGroupName>';