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 ...