{"id":44105173,"url":"https://github.com/nipulm/oisbase","last_synced_at":"2026-03-07T08:07:27.009Z","repository":{"id":337228907,"uuid":"1152633257","full_name":"NipulM/oisbase","owner":"NipulM","description":"Command-line tool to scaffold production-ready Terraform stacks with multi-environment support","archived":false,"fork":false,"pushed_at":"2026-02-28T17:56:02.000Z","size":86,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-28T19:59:21.526Z","etag":null,"topics":["aws","aws-infrastructure-automation","devops","devops-tools","iac","infrastructure-as-code","scaffolding","terraform","terraform-aws"],"latest_commit_sha":null,"homepage":"https://oisbase.dev","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NipulM.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-08T07:05:49.000Z","updated_at":"2026-02-24T22:30:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"52056766-b3b4-4f93-89a0-fce9a8ea00d1","html_url":"https://github.com/NipulM/oisbase","commit_stats":null,"previous_names":["nipulm/oisbase"],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/NipulM/oisbase","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NipulM%2Foisbase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NipulM%2Foisbase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NipulM%2Foisbase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NipulM%2Foisbase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NipulM","download_url":"https://codeload.github.com/NipulM/oisbase/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NipulM%2Foisbase/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29951023,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T18:42:55.706Z","status":"ssl_error","status_checked_at":"2026-02-28T18:42:48.811Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","aws-infrastructure-automation","devops","devops-tools","iac","infrastructure-as-code","scaffolding","terraform","terraform-aws"],"created_at":"2026-02-08T15:04:47.238Z","updated_at":"2026-03-07T08:07:27.000Z","avatar_url":"https://github.com/NipulM.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OIS — Infrastructure Scaffolding CLI for IaC Platforms\n\nBuild production-ready AWS infrastructure in seconds.\n\nois is an **opinionated AWS Terraform project generator CLI** that scaffolds\nmulti-environment infrastructure, service modules, and state isolation using best practices.\n\n**Documentation:** [oisbase.dev/docs](https://oisbase.dev/docs)\n\n## Features\n\n- **Zero to Infrastructure in Minutes** — Interactive prompts guide you through setup\n- **Multi-Environment by Default** — Separate dev/staging/prod from the start\n- **Service Isolation** — Each service type manages its own state\n- **Cross-Service Connections** — Auto-generated IAM policies, SSM lookups, and event triggers when you connect services\n- **Incremental Development** — Add services as you need them\n- **Production-Ready Templates** — Battle-tested Terraform modules\n- **Best Practices Built-In** — Proper state management, tagging, and structure\n- **Cost Estimation** — Estimate infrastructure costs via OpenInfraQuote (`ois estimate`)\n\n## Installation\n\n### Prerequisites\n\n- Go 1.21+ (for from-source installation)\n- Terraform (for deploying generated configurations)\n\n### Homebrew (macOS/Linux)\n\n```bash\nbrew tap NipulM/ois\nbrew install ois\n```\n\n### From Source\n\n```bash\ngo install github.com/NipulM/oisbase@latest\n```\n\n\u003e **Note:** The binary is named `oisbase`. Create an alias if you prefer: `alias ois=oisbase`\n\n## Quick Start\n\n```bash\n# Create a new project\nmkdir my-infrastructure\ncd my-infrastructure\nois init\n\n# Add a Lambda function\nois add lambda\n\n# Add a DynamoDB table and connect it to your Lambda\nois add dynamodb\n\n# Add an SQS queue with Lambda trigger\nois add sqs\n\n# Add an API Gateway with routes to your Lambda\nois add api-gateway\n```\n\nWhen you connect services during `ois add`, the CLI automatically generates the IAM policies, SSM parameter lookups, and event source mappings needed for them to work together.\n\nTo estimate costs after generating your infrastructure:\n\n```bash\nterraform plan -out=tf.plan\nois estimate\n```\n\n## CLI Reference\n\n| Command                        | Description                                                                  |\n| ------------------------------ | ---------------------------------------------------------------------------- |\n| `ois init`                     | Initialize a new Terraform project with interactive prompts                  |\n| `ois add [service]`            | Add a service instance (e.g., `lambda`, `dynamodb`, `api-gateway`, `sqs`)    |\n| `ois add [service] --template` | Copy the Terraform module when the service wasn't selected during init       |\n| `ois estimate`                 | Estimate costs using OpenInfraQuote (requires `terraform plan -out=tf.plan`) |\n\n## Supported Services\n\n| Service     | Status      | Description                      |\n| ----------- | ----------- | -------------------------------- |\n| Lambda      | Available   | Serverless functions             |\n| DynamoDB    | Available   | NoSQL database                   |\n| API Gateway | Available   | HTTP API with route-based config |\n| SQS         | Available   | Message queuing                  |\n| S3          | Coming Soon | Object storage                   |\n\n## Generated Project Structure\n\nAfter running `ois init` and adding services, your project will look like:\n\n```\nacme-payments/\n├── environments/\n│   ├── pre-production/\n│   │   ├── dev/\n│   │   │   ├── lambda/\n│   │   │   │   ├── payment-processor/\n│   │   │   │   │   ├── main.tf\n│   │   │   │   │   ├── variables.tf\n│   │   │   │   │   ├── iam.tf\n│   │   │   │   │   ├── data.tf\n│   │   │   │   │   └── triggers.tf\n│   │   │   │   └── notification-service/\n│   │   │   ├── dynamodb/\n│   │   │   │   └── transactions/\n│   │   │   ├── sqs/\n│   │   │   │   └── payment-events/\n│   │   │   └── api-gateway/\n│   │   │       └── acme-payments-api/\n│   │   │           ├── main.tf\n│   │   │           ├── variables.tf\n│   │   │           ├── outputs.tf\n│   │   │           ├── iam.tf\n│   │   │           ├── data.tf\n│   │   │           └── api.yaml\n│   │   └── stg/\n│   └── production/\n│       └── prod/\n├── modules/\n│   ├── lambda/\n│   ├── dynamodb/\n│   └── sqs/\n└── .oisbase.json\n```\n\n## Prerequisites for Deployment\n\nBefore deploying with Terraform, you'll need to set up:\n\n1. **S3 bucket** for Terraform state\n2. **DynamoDB table** for state locking\n\nSee the [documentation](https://oisbase.dev/docs) for step-by-step guides and service-specific prerequisites.\n\n## When Should I Use ois?\n\nUse ois if you:\n\n- Are starting a new AWS Terraform project\n- Want a consistent, production-ready structure\n- Need multi-environment isolation from day one\n- Prefer opinionated defaults over custom boilerplate\n\nois is especially useful for teams standardizing AWS infrastructure.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnipulm%2Foisbase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnipulm%2Foisbase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnipulm%2Foisbase/lists"}