You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Fixed critical bug where `idp-cli deploy` command was resetting ALL stack parameters to their default values during updates, even when users only intended to change specific parameters
13
-
-**Root Cause**: The `build_parameters()` function was using default values for all parameters (e.g., `max_concurrent=100`, `log_level="INFO"`, `enable_hitl="false"`), causing these defaults to be sent to CloudFormation even when users didn't explicitly provide them
14
-
-**Solution**: Refactored `build_parameters()` to only include explicitly provided parameters, allowing CloudFormation to automatically preserve existing values for parameters not specified in the update command
15
-
-**Benefits**: Users can now safely update individual stack parameters without accidentally resetting other parameters to defaults, significantly reducing the risk of unintended stack configuration changes
16
-
-**Implementation Details**:
17
-
- Changed all `build_parameters()` function parameters to `Optional` with `None` defaults
18
-
- Added conditional parameter inclusion - only adds parameter to dictionary if value is not `None`
19
-
- Updated CLI to convert Click's default values to `None` when detecting they haven't been explicitly changed by the user
20
-
- Removed unnecessary existing parameter retrieval code that attempted to fill in pattern/admin_email from existing stack
21
-
-**Testing**: Added comprehensive test suite with 15 test cases covering new stack creation, empty updates, selective updates, and parameter preservation scenarios
22
-
23
8
## [0.4.1]
24
9
25
10
### Changed
@@ -35,7 +20,10 @@ SPDX-License-Identifier: MIT-0
35
20
-**Re-enabled Regex Functionality** - Restored document name and page content regex functionality for Pattern-2 classification that was temporarily missing
36
21
-**Pattern-2 ECR Enhanced Scanning Support** - Added required IAM permissions (inspector2:ListCoverage, inspector2:ListFindings) to Pattern2DockerBuildRole to support AWS accounts with Amazon Inspector Enhanced Scanning enabled. Also added KMS permissions (kms:Decrypt, kms:CreateGrant) for customer-managed encryption keys. This resolves AccessDenied errors and CodeBuild timeouts when deploying Pattern-2 in accounts with enhanced scanning enabled.
37
22
-**Reporting Database Data Loss After Evaluation Refactoring - Fixes #121**
38
-
- Fixed critical bug where metering data and document_section data stopped being written to the reporting database after evaluation was migrated from EventBridge to Step Functions workflow
23
+
- Fixed bug where metering data and document_section data stopped being written to the reporting database after evaluation was migrated from EventBridge to Step Functions workflow
- Fixed bug where `idp-cli deploy` command was resetting ALL stack parameters to their default values during updates, even when users only intended to change specific parameters
0 commit comments