docs: Use !Ref LambdaLayer instead of { Ref: LambdaLayer }

This commit is contained in:
Noud 2022-04-25 17:03:54 +02:00 committed by GitHub
parent 70ca3594b6
commit ef1e752ddd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -177,7 +177,7 @@ functions:
hello:
handler: handler.hello
layers:
- { Ref: TestLambdaLayer }
- !Ref TestLambdaLayer
```
You can also configure layers at the service level. EG: