Skip to content

Commit 8b66371

Browse files
committed
fix: shorter name for basic example to avoid IAM role names hitting length limit for long stage names
Could encounter an error like the following: An error occurred: IamRoleLambdaExecution - 1 validation error detected: Value 'static-file-handler-demo-proxy-push1154251616-us-east-1-lambdaRole' at 'roleName' failed to satisfy constraint: Member must have length less than or equal to 64 (Service: AmazonIdentityManagement; Status Code: 400; Error Code: ValidationError...)
1 parent 4a2d73d commit 8b66371

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/basic/serverless.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
service: static-file-handler-demo-proxy
1+
service: static-file-handler-demo
22

33
plugins:
44
- serverless-aws-static-file-handler/plugins/BinaryMediaTypes

0 commit comments

Comments
 (0)