@@ -75,9 +75,7 @@ Resources:
75
75
GetAllUsersV1Function :
76
76
Type : AWS::Serverless::Function
77
77
Properties :
78
- FunctionName : !Sub
79
- - ${StackName}-GetAllUsersV1
80
- - { StackName: !Ref AWS::StackName }
78
+ FunctionName : !Sub ${AWS::StackName}-GetAllUsersV1
81
79
Description : Get all users v1
82
80
Events :
83
81
API :
@@ -107,9 +105,7 @@ Resources:
107
105
GetUserV1Function :
108
106
Type : AWS::Serverless::Function
109
107
Properties :
110
- FunctionName : !Sub
111
- - ${StackName}-GetUserV1
112
- - { StackName: !Ref AWS::StackName }
108
+ FunctionName : !Sub ${AWS::StackName}-GetUserV1
113
109
Description : Get user v1
114
110
Events :
115
111
API :
@@ -139,9 +135,7 @@ Resources:
139
135
CreateUserV1Function :
140
136
Type : AWS::Serverless::Function
141
137
Properties :
142
- FunctionName : !Sub
143
- - ${StackName}-CreateUserV1
144
- - { StackName: !Ref AWS::StackName }
138
+ FunctionName : !Sub ${AWS::StackName}-CreateUserV1
145
139
Description : Create user v1
146
140
Events :
147
141
API :
@@ -172,9 +166,7 @@ Resources:
172
166
UpdateUserV1Function :
173
167
Type : AWS::Serverless::Function
174
168
Properties :
175
- FunctionName : !Sub
176
- - ${StackName}-UpdateUserV1
177
- - { StackName: !Ref AWS::StackName }
169
+ FunctionName : !Sub ${AWS::StackName}-UpdateUserV1
178
170
Description : Update user v1
179
171
Events :
180
172
API :
@@ -204,9 +196,7 @@ Resources:
204
196
DeleteUserV1Function :
205
197
Type : AWS::Serverless::Function
206
198
Properties :
207
- FunctionName : !Sub
208
- - ${StackName}-DeleteUserV1
209
- - { StackName: !Ref AWS::StackName }
199
+ FunctionName : !Sub ${AWS::StackName}-DeleteUserV1
210
200
Description : Delete user v1
211
201
Events :
212
202
API :
@@ -238,9 +228,7 @@ Resources:
238
228
# GetUserV2Function:
239
229
# Type: AWS::Serverless::Function
240
230
# Properties:
241
- # FunctionName: !Sub
242
- # - ${StackName}-GetUserV2
243
- # - { StackName: !Ref AWS::StackName }
231
+ # FunctionName: !Sub ${AWS::StackName}-GetUserV2
244
232
# Description: Get user from DynamoDB v2
245
233
# Events:
246
234
# API:
@@ -270,9 +258,7 @@ Resources:
270
258
# CreateUserV2Function:
271
259
# Type: AWS::Serverless::Function
272
260
# Properties:
273
- # FunctionName: !Sub
274
- # - ${StackName}-CreateUserV2
275
- # - { StackName: !Ref AWS::StackName }
261
+ # FunctionName: !Sub ${AWS::StackName}-CreateUserV2
276
262
# Description: Save user to DynamoDB v2
277
263
# Events:
278
264
# API:
0 commit comments