Skip to content

Commit 702ab4e

Browse files
author
Bob Strahan
committed
Update documentation and fix GovCloud template generation script
1 parent 96fe018 commit 702ab4e

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

memory-bank/activeContext.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Successfully created a comprehensive GovCloud-compatible version of the GenAI ID
4646
- Fixed scheduler ingestion job ARNs
4747

4848
#### 4. Automation Scripts
49-
**Complete Publication Script (`scripts/publish_all.py`):**
49+
**Complete Publication Script (`scripts/generate_govcloud_template.py`):**
5050
- Orchestrates full build + GovCloud generation process
5151
- Provides deployment instructions for both standard and GovCloud
5252
- Handles error reporting and status updates
@@ -103,7 +103,7 @@ sam deploy --template-file .aws-sam/packaged.yaml
103103

104104
**GovCloud Deployment:**
105105
```bash
106-
python scripts/publish_all.py my-bucket my-prefix us-gov-west-1
106+
python scripts/generate_govcloud_template.py my-bucket my-prefix us-gov-west-1
107107
# Automatically builds artifacts AND generates GovCloud template
108108
sam deploy --template-file template-govcloud.yaml
109109
```
@@ -118,8 +118,7 @@ sam deploy --template-file template-govcloud.yaml
118118
## Implementation Files Created/Modified
119119

120120
### New Files Created:
121-
- `scripts/generate_govcloud_template.py` - Main GovCloud template generator
122-
- `scripts/publish_all.py` - Complete automation wrapper script
121+
- `scripts/generate_govcloud_template.py` - Main GovCloud template generator and complete automation wrapper script
123122
- `docs/govcloud-deployment.md` - Comprehensive deployment documentation
124123

125124
### Templates Updated for GovCloud:

scripts/generate_govcloud_template.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,9 +188,7 @@ def __init__(self, verbose: bool = False):
188188
'WebUIBucketName',
189189
'WebUITestEnvFile',
190190
'SageMakerA2IReviewPortalURL',
191-
'LabelingConsoleURL',
192-
'CWDashboardConsoleName', # References removed MergedDashboard
193-
'CWDashboardConsoleURL' # References removed MergedDashboard
191+
'LabelingConsoleURL'
194192
}
195193

196194
def setup_logging(self):
@@ -548,7 +546,7 @@ def clean_template_for_headless_deployment(self, template: Dict[str, Any]) -> Di
548546
self.logger.debug(f"Removed AppSync policy statements from {func_name}")
549547

550548
# Convert all backend functions from AppSync to DynamoDB tracking mode
551-
functions_to_convert = ['QueueSender', 'WorkflowTracker', 'QueueProcessor']
549+
functions_to_convert = ['QueueSender', 'QueueProcessor', 'WorkflowTracker', 'EvaluationFunction']
552550
for func_name in functions_to_convert:
553551
if func_name in resources:
554552
func_def = resources[func_name]

0 commit comments

Comments
 (0)