Skip to content

Commit 7b162ca

Browse files
committed
fix env var
Signed-off-by: Connor Avery <[email protected]>
1 parent 8b254ba commit 7b162ca

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

SAMtemplates/functions/main.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Globals:
1212
Runtime: nodejs20.x
1313
Environment:
1414
Variables:
15+
STACK_NAME: !Ref StackName
1516
NODE_OPTIONS: "--enable-source-maps"
1617
TargetSpineServer: !Ref TargetSpineServer
1718
TargetServiceSearchServer: !Ref TargetServiceSearchServer

SAMtemplates/main_template.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,6 @@ Resources:
148148
Type: AWS::Serverless::Application
149149
Properties:
150150
Location: functions/main.yaml
151-
Environment:
152-
Variables:
153-
STACK_NAME: !Ref StackName
154151
Parameters:
155152
StackName: !Ref AWS::StackName
156153
Env: !Ref Env

0 commit comments

Comments
 (0)