@@ -127,10 +127,7 @@ def __init__(self, verbose: bool = False):
127127 'CognitoUserPoolEmailDomainVerifyPermission' ,
128128 'CognitoUserPoolEmailDomainVerifyPermissionReady'
129129 }
130-
131- # Keep these utility resources as they don't depend on GovCloud-incompatible services
132- # GetDomainLambda, GetDomainLambdaLogGroup, GetLowercase - utility functions for string manipulation
133-
130+
134131 self .waf_resources = {
135132 'WAFIPV4Set' ,
136133 'WAFLambdaServiceIPSet' ,
@@ -163,21 +160,12 @@ def __init__(self, verbose: bool = False):
163160 'WorkforceURLResource'
164161 }
165162
166- # Functions that depend on AppSync but can be converted to use DynamoDB tracking
167- self .functions_to_convert_to_dynamodb = {
168- 'QueueSender' , # Convert from AppSync to DynamoDB tracking
169- 'WorkflowTracker' , # Convert from AppSync to DynamoDB tracking
170- }
171-
172163 # Functions that are purely AppSync-dependent and should be removed for headless GovCloud deployment
173164 self .appsync_dependent_resources = {
174165 'StepFunctionSubscriptionPublisher' , # AppSync subscription publisher
175166 'StepFunctionSubscriptionPublisherLogGroup' ,
176167 'StepFunctionSubscriptionRule' ,
177- 'StepFunctionSubscriptionPublisherPermission' ,
178- 'MainTemplateSubsetDashboard' , # Dashboard references removed log groups
179- 'MergedDashboard' , # Dashboard merger depends on MainTemplateSubsetDashboard
180- 'DashboardMergerFunction' # Function that merges dashboards (not needed for headless)
168+ 'StepFunctionSubscriptionPublisherPermission'
181169 }
182170
183171 # Parameters to remove
@@ -947,8 +935,8 @@ def main():
947935 print ("STEP 2: Generating GovCloud Template" )
948936 print ("=" * 60 )
949937
950- input_template = '.aws-sam/packaged .yaml'
951- output_template = '.aws-sam/idp-govcloud.yml '
938+ input_template = '.aws-sam/idp-main .yaml'
939+ output_template = '.aws-sam/idp-govcloud.yaml '
952940
953941 if not generator .generate_govcloud_template (input_template , output_template ):
954942 print ("❌ GovCloud template generation failed" )
0 commit comments