(cfg *config.CLIConfig)
| 162 | } |
| 163 | |
| 164 | func runDeployDryRun(cfg *config.CLIConfig) error { |
| 165 | fmt.Println("🔍 Dry run - showing what would be deployed:") |
| 166 | fmt.Printf("Stack Name: %s\n", cfg.Deployment.StackName) |
| 167 | fmt.Printf("AWS Region: %s\n", cfg.AWS.Region) |
| 168 | fmt.Printf("Performance Mode: %s\n", cfg.Deployment.Mode) |
| 169 | |
| 170 | modeConfig := config.GetModeConfigs()[cfg.Deployment.Mode] |
| 171 | fmt.Printf("Lambda Memory: %d MB\n", modeConfig.LambdaMemory) |
| 172 | fmt.Printf("Lambda Timeout: %d seconds\n", modeConfig.LambdaTimeout) |
| 173 | fmt.Printf("Session TTL: %v\n", modeConfig.SessionTTL) |
| 174 | |
| 175 | fmt.Println("\nDeployment steps that would be performed:") |
| 176 | fmt.Println("1. Deploy CloudFormation stack with S3 bucket and IAM roles") |
| 177 | fmt.Println("2. Build Lambda deployment package") |
| 178 | fmt.Println("3. Deploy Lambda function with performance mode settings") |
| 179 | fmt.Println("4. Configure S3 bucket notifications to trigger Lambda") |
| 180 | |
| 181 | fmt.Println("\nTo perform actual deployment, run without --dry-run flag") |
| 182 | |
| 183 | return nil |
| 184 | } |
| 185 | |
| 186 | func init() { |
| 187 | // Add deploy-specific flags |
no test coverage detected