Skip to content

Commit 61d35cc

Browse files
committed
Minor fix to app-geo-ca-v2 harvester
1 parent c9dae6c commit 61d35cc

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/cloudformation/geocore-hnap-harvest-app-geo-ca-v2.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Conditions:
2121
IsDev: !Equals [dev, !Ref Environment]
2222

2323
Resources:
24-
HnapJsonHarvester2:
24+
HnapJsonHarvesterAppGeoCav2:
2525
Type: AWS::Serverless::Function
2626
Properties:
2727
Runtime: python3.9
@@ -52,29 +52,29 @@ Resources:
5252
HnapJsonHarvesterRule:
5353
Type: AWS::Events::Rule
5454
Properties:
55-
Name: !Sub 'harvester-10mins-${Environment}'
55+
Name: !Sub 'harvester-10mins-app-geo-ca-v2-${Environment}'
5656
Description: Harvester on a 10 minute interval
5757
State: DISABLED
5858
ScheduleExpression: 'rate(10 minutes)'
5959
Targets:
6060
-
6161
Arn:
6262
Fn::GetAtt:
63-
- HnapJsonHarvester2
63+
- HnapJsonHarvesterAppGeoCav2
6464
- Arn
65-
Id: !Ref HnapJsonHarvester2
65+
Id: !Ref HnapJsonHarvesterAppGeoCav2
6666

6767
PermissionForEventsToInvokeHarvesterLambda:
6868
Type: AWS::Lambda::Permission
6969
Properties:
70-
FunctionName: !Ref HnapJsonHarvester2
70+
FunctionName: !Ref HnapJsonHarvesterAppGeoCav2
7171
Action: 'lambda:InvokeFunction'
7272
Principal: 'events.amazonaws.com'
7373
SourceArn: !GetAtt
7474
- HnapJsonHarvesterRule
7575
- Arn
7676

77-
LambdaExecutionRole:
77+
LambdaExecutionRole:
7878
Type: AWS::IAM::Role
7979
Properties:
8080
AssumeRolePolicyDocument:

0 commit comments

Comments
 (0)