File tree Expand file tree Collapse file tree 1 file changed +13
-9
lines changed Expand file tree Collapse file tree 1 file changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -94,15 +94,15 @@ file, as shown in the following code:
94
94
.. code-block:: yaml
95
95
96
96
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
99
99
100
100
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
106
106
107
107
Customize the Sample Application
108
108
--------------------------------
@@ -168,8 +168,12 @@ environment variable ``MONGODB_URI`` to your connection string:
168
168
.. code-block:: yaml
169
169
170
170
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.
173
177
174
178
Deploy Your Application
175
179
-----------------------
You can’t perform that action at this time.
0 commit comments