MCPcopy Index your code
hub / github.com/alantech/iasql

github.com/alantech/iasql @v0.1.9

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.1.9 ↗ · + Follow
1,589 symbols 4,729 edges 583 files 27 documented · 2% updated 17mo agov0.1.9 · 2023-04-11★ 60699 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README
<img width="180"/>

 

Integration Tests Dashboard Tests Docs Discord Twitter


Cloud infrastructure as data in PostgreSQL

IaSQL is an open-source developer tool to inspect and provision cloud infrastructure via SQL by maintaining a 2-way connection between an unmodified PostgreSQL database and your AWS account. The rows in the database tables represent the infrastructure in your cloud account.

⚡️ Try out IaSQL

To get started with IaSQL using our documentation. Visit iasql.com/docs

💬 Community, Support, and Questions

Reach out on Discord

🔨 Use cases

☁️ Cloud Providers

AWS is our main focus at the moment, but we plan to support GCP, Azure and other cloud providers soon. Let us know if you need a specific AWS service and we might be able to prioritize it!

AWS coverage

An IaSQL module roughly maps to an AWS service. Check out our supported modules in this part of our docs.

AWS services that are going to be added next can be found here. Let us know if you would like to see one that is not listed!

🚀 Contribute

To contribute, visit Contributing.md

Extension points exported contracts — how you extend this code

RpcInterface (Interface)
(no doc) [1 implementers]
src/modules/interfaces.ts
ConfigInterface (Interface)
(no doc)
src/config/config.ts
AppConfig (Interface)
(no doc)
dashboard/src/components/providers/ConfigProvider.tsx
CrudInterface (Interface)
(no doc)
src/modules/interfaces.ts
Payload (Interface)
(no doc)
dashboard/src/components/providers/AppProvider.tsx
MapperInterface (Interface)
(no doc)
src/modules/interfaces.ts
AppState (Interface)
(no doc)
dashboard/src/components/providers/AppProvider.tsx
ModuleInterface (Interface)
(no doc)
src/modules/interfaces.ts

Core symbols most depended-on inside this repo

query
called by 780
src/services/typeorm.ts
itDocs
called by 671
test/helpers.ts
commit
called by 583
src/modules/iasql_functions/iasql.ts
getAwsClient
called by 327
src/modules/aws_account/index.ts
install
called by 272
src/modules/iasql_functions/iasql.ts
read
called by 246
src/modules/interfaces.ts
init
called by 160
src/modules/interfaces.ts
update
called by 152
src/modules/interfaces.ts

Shape

Class 644
Method 512
Function 349
Enum 72
Interface 12

Languages

TypeScript95%
Python5%

Modules by API surface

examples/ecs-fargate/django/app/infra/models.py64 symbols
src/modules/iasql_functions/iasql.ts41 symbols
src/modules/interfaces.ts40 symbols
src/modules/aws_ecr/index.ts21 symbols
test/helpers.ts17 symbols
src/modules/aws_route53/index.ts17 symbols
src/services/repositories/metadata.ts15 symbols
src/services/typeorm.ts14 symbols
src/modules/aws_security_group/index.ts14 symbols
src/services/db-manager.ts13 symbols
src/modules/aws_ec2/mappers/instance.ts13 symbols
src/modules/aws_cloudfront/index.ts12 symbols

Datastores touched

iasqlDatabase · 1 repos
iasql_metadataDatabase · 1 repos
postgresDatabase · 1 repos
to_upgradeDatabase · 1 repos

For agents

$ claude mcp add iasql \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact