Skip to main content
Version: 0.0.4

IaSQL PostgreSQL Functions

namesignaturedescriptionsample usage
applyiasql_apply()Create, delete or update the cloud resources in a hosted dbSELECT * FROM iasql_apply()
plan_applyiasql_plan_apply()Preview of the resources in the db to be modified on the next applySELECT * FROM iasql_plan_apply()
synciasql_sync()Synchronize the db with the current state of the cloud accountSELECT * FROM iasql_sync()
plan_synciasql_plan_sync()Preview of the resources in the db to be modified on the next syncSELECT * FROM iasql_plan_sync()
installiasql_install(variadic text[])Install mods(s) in db and returns a record for every created tableSELECT * FROM iasql_install('aws_vpc@0.0.1', 'aws_ec2')
uninstalliasql_uninstall(variadic text[])Uninstall mod(s) in db and returns a record for every dropped tableSELECT * FROM iasql_uninstall('aws_vpc', 'aws_ec2@0.0.1')
modules_listiasql_modules_list()Lists all modules available to be installedSELECT * FROM iasql_modules_list()
modules_installediasql_modules_installed()Lists all modules currently installed in the dbSELECT * FROM iasql_modules_installed()
delete_all_recordsdelete_all_records()Delete all records in tables managaed by iasql modulesSELECT * FROM delete_all_records()
helpiasql_help()Delete all records in iasql managed tablesSELECT * FROM delete_all_records()