File tree Expand file tree Collapse file tree
raw-to-stage/raw_to_stage_etl/processor Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ Parameters:
2323 - integration
2424 - production
2525 - production-preview
26+ - demo
2627 CodeSigningConfigArn :
2728 Description : ARN of Code Signing Config from deployment pipeline
2829 Type : String
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ EventConsumerLambda:
1212 # checkov:skip=CKV_AWS_116: DLQ not needed for lambda driven by SQS
1313 Type : AWS::Serverless::Function
1414 Properties :
15- FunctionName : txma-event-consumer
15+ FunctionName : ${Environment}- txma-event-consumer
1616 Events :
1717 # this event is called CleanEvent for historic reasons (originally some data cleaning/validation was planned at this stage)
1818 # as it exists now, this lambda just receives txma events and passes them directly to firehose
Original file line number Diff line number Diff line change @@ -359,7 +359,7 @@ VPCForDAP:
359359 - Key : Environment
360360 Value : !Ref Environment
361361 - Key : Name
362- Value : dap-private-vpc
362+ Value : dap-private-vpc-${Environment}
363363
364364FlowLogRole :
365365 Type : ' AWS::IAM::Role'
Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ RedshiftSecretRotationLambda:
117117 Properties :
118118 # todo remove this once secretsmanager permissions have been added to secure pipelines permissions boundary
119119 PermissionsBoundary : !Ref AWS::NoValue
120- FunctionName : redshift-rotate-secret
120+ FunctionName : redshift-rotate-secret-demo
121121 Handler : redshift-rotate-secret.handler
122122 Policies :
123123 - AWSLambdaBasicExecutionRole
@@ -371,7 +371,7 @@ FlywayFilesBucketUploadRole:
371371 Condition : IsBuild
372372 Type : AWS::IAM::Role
373373 Properties :
374- RoleName : dap-flyway-files-upload-role
374+ RoleName : dap-flyway-files-upload-role-demo
375375 AssumeRolePolicyDocument :
376376 Version : 2012-10-17
377377 Statement :
@@ -419,7 +419,7 @@ DataAnalyticsADMRedshiftRole:
419419 StringLike :
420420 ' token.actions.githubusercontent.com:sub ' : repo:govuk-one-login/data-analytics-adm:*
421421 Policies :
422- - PolicyName : !Sub data-analytics-adm-redshift-policy
422+ - PolicyName : !Sub data-analytics-adm-redshift-policy-${Environment}
423423 PolicyDocument :
424424 Version : 2012-10-17
425425 Statement :
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ def process(self) -> None:
2727 These dfs are looped and for each df, performs transform and load operations.
2828 Then prints various metrics like no of records, time taken etc.
2929 """
30+ self .logger .info ("TESTING" )
3031 # extract data from raw layer
3132 dfs = self .strategy .extract ()
3233
You can’t perform that action at this time.
0 commit comments