Skip to content

Commit 27cf304

Browse files
committed
fixes
1 parent b08deba commit 27cf304

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

source/aws-lambda.txt

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -94,15 +94,15 @@ file, as shown in the following code:
9494
.. code-block:: yaml
9595

9696
plugins:
97-
- ./vendor/bref/bref
98-
- ./vendor/bref/extra-php-extensions # Adds the extra Serverless plugin
97+
- ./vendor/bref/bref
98+
- ./vendor/bref/extra-php-extensions # Adds the extra Serverless plugin
9999

100100
functions:
101-
api:
102-
handler: index.php
103-
runtime: php-83-fpm
104-
layers:
105-
- ${bref-extra:mongodb-php-81} # Adds the MongoDB layer
101+
api:
102+
handler: index.php
103+
runtime: php-83-fpm
104+
layers:
105+
- ${bref-extra:mongodb-php-81} # Adds the MongoDB layer
106106

107107
Customize the Sample Application
108108
--------------------------------
@@ -168,8 +168,12 @@ environment variable ``MONGODB_URI`` to your connection string:
168168
.. code-block:: yaml
169169

170170
provider:
171-
environment:
172-
MONGODB_URI: "<connection string without credentials>"
171+
environment:
172+
MONGODB_URI: "<connection string without credentials>"
173+
174+
To learn more about using the ``MONGODB-AWS`` authentication mechanism,
175+
see the :ref:`MONGODB-AWS <php-mongodb-aws>` section of the
176+
Authentication Mechanisms guide.
173177

174178
Deploy Your Application
175179
-----------------------

0 commit comments

Comments
 (0)