Skip to content

Commit

Permalink
Update parmeter names (#13)
Browse files Browse the repository at this point in the history
Update the parameter names to more accurately represent the input data
  • Loading branch information
zaro0508 authored Oct 10, 2023
1 parent 03d8684 commit 1998f25
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ Parameters:
AllowedPattern: '^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$'
ConstraintDescription: 'Must be an acceptable email address syntax(i.e. [email protected])'
Default: '[email protected]'
CfnExportLambdaExecutionRole:
Description: 'The cloudformation export value of the lambda execution role'
LambdaExecutionRoleArn:
Description: 'The ARN of the role used to execute this lambda'
Type: String
CfnExportLambdaServiceRole:
Description: 'The cloudformation export value of the lambda service role'
LambdaServiceRoleArn:
Description: 'The ARN of the role used to invoke this lambda'
Type: String

Globals:
Expand All @@ -42,7 +42,7 @@ Resources:
CodeUri: ssm_param/
Handler: app.handler
Runtime: python3.9
Role: !Ref CfnExportLambdaExecutionRole
Role: !Ref LambdaExecutionRoleArn
Tags:
Department: !Ref Department
Project: !Ref Project
Expand All @@ -60,7 +60,7 @@ Resources:
Action: lambda:InvokeFunction
FunctionName: !Ref SsmParamFunction
Principal: !Ref 'AWS::AccountId'
SourceArn: !Ref CfnExportLambdaServiceRole
SourceArn: !Ref LambdaServiceRoleArn

Outputs:
SsmParamFunctionName:
Expand Down

0 comments on commit 1998f25

Please sign in to comment.