Skip to content

Commit 1996b82

Browse files
committed
fix: Spring Boot 2 sample template, partially reverts commit 0b92c8e (#484)
1 parent 9320edd commit 1996b82

File tree

1 file changed

+12
-14
lines changed

1 file changed

+12
-14
lines changed

samples/springboot2/pet-store/template.yml

+12-14
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,16 @@ Resources:
1717
MemorySize: 1512
1818
Policies: AWSLambdaBasicExecutionRole
1919
Timeout: 60
20-
FunctionUrlConfig:
21-
AuthType: NONE
22-
# Events:
23-
# HttpApiEvent:
24-
# Type: HttpApi
25-
# Properties:
26-
# TimeoutInMillis: 20000
27-
# PayloadFormatVersion: '1.0'
20+
Events:
21+
HttpApiEvent:
22+
Type: HttpApi
23+
Properties:
24+
TimeoutInMillis: 20000
25+
PayloadFormatVersion: '1.0'
2826

29-
#Outputs:
30-
# SpringBootPetStoreApi:
31-
# Description: URL for application
32-
# Value: !Sub 'https://${ServerlessHttpApi}.execute-api.${AWS::Region}.amazonaws.com/pets'
33-
# Export:
34-
# Name: SpringBootPetStoreApi
27+
Outputs:
28+
SpringBootPetStoreApi:
29+
Description: URL for application
30+
Value: !Sub 'https://${ServerlessHttpApi}.execute-api.${AWS::Region}.amazonaws.com/pets'
31+
Export:
32+
Name: SpringBootPetStoreApi

0 commit comments

Comments
 (0)