onglx-deploy plan

Show deployment plan without making changes

Core Command
Preview
Cost Estimation

Description

Plan deployment changes with enhanced targeting, cost estimation, and output formatting. This command performs a dry-run to show what resources would be created, modified, or destroyed, with support for targeting specific components and multiple output formats.

Examples

Basic plan

Terminal - OnglX Deploy
$ onglx-deploy plan
šŸ“‹ Deployment Plan
šŸ“Š Plan Summary: Additions: 3, Changes: 0
✨ CREATE (3):
• aws_lambda_function.api-openai (api)
• aws_apigatewayv2_api.api-openai-gateway (api)
• aws_dynamodb_table.api-openai-keys (api)

Plan with cost estimation

Terminal - OnglX Deploy
$ onglx-deploy plan --show-costs
šŸ“‹ Deployment Plan
šŸ“Š Plan Summary: Additions: 3, Changes: 0
šŸ’° Total Monthly: $9.00 USD
✨ CREATE (3):
• aws_lambda_function.api-openai (api)
šŸ’° Est. cost: $5.00/month (variable)
• aws_apigatewayv2_api.api-openai-gateway (api)
šŸ’° Est. cost: $3.00/month (variable)
• aws_dynamodb_table.api-openai-keys (api)
šŸ’° Est. cost: $1.00/month

Target specific components

Terminal - OnglX Deploy
$ onglx-deploy plan --target api,ui --output json
{
"deployment": {...},
"hasChanges": true,
"additions": 2,
"resources": [...]
}

After reviewing the plan:

  • • Deploy the changes: onglx-deploy deploy
  • • Or modify components: onglx-deploy add inference --component ...