Skip to content

Commit 2366c95

Browse files
committed
Update links
1 parent c765d0c commit 2366c95

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

docs/tutorial/aws-lambda.txt

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,18 @@ Deploy to AWS Lambda with Bref
1010
:depth: 2
1111
:class: singlecol
1212

13-
.. versionadded:: 1.17
14-
1513
Overview
1614
--------
1715

18-
`Bref <https://bref.sh>`_ allows to deploy serverless PHP applications on AWS Lambda.
16+
`Bref <https://bref.sh>`__ allows to deploy serverless PHP applications on AWS Lambda.
1917
In this tutorial, you will deploy a simple PHP application with the MongoDB PHP extension,
2018
and connect to an Atlas cluster using AWS IAM authentication.
2119

2220
Prerequisites
2321
--------------
2422

2523
Before you begin, you must install Bref on your machine. You can follow the
26-
`official documentation to setup Bref <https://bref.sh/docs/setup>`_.
24+
`official documentation to setup Bref <https://bref.sh/docs/setup>`__.
2725

2826
Install the MongoDB extension
2927
-----------------------------
@@ -52,7 +50,7 @@ by deploying this default application.
5250

5351

5452
Bref provides a Lambda layer with PHP and some very common extensions.
55-
Additional extensions are provided by the package `bref/extra-php-extension <https://github.com/brefphp/extra-php-extensions>`_.
53+
Additional extensions are provided by the package `bref/extra-php-extension <https://github.com/brefphp/extra-php-extensions>`__.
5654

5755
.. code-block:: yaml
5856

@@ -69,7 +67,7 @@ Additional extensions are provided by the package `bref/extra-php-extension <htt
6967

7068

7169
Let's try to use the MongoDB driver with this simple web page that list planets
72-
from the :manual:`sample dataset </atlas/sample-data/>`.
70+
from the `sample dataset <https://www.mongodb.com/docs/atlas/sample-data/>`__.
7371
Replace the contents of ``index.php`` with the following:
7472

7573
.. literalinclude:: /examples/aws-lambda/index.php
@@ -92,7 +90,7 @@ Atlas supports passwordless authentication with AWS credentials. In any Lambda f
9290
AWS sets environment variables that contains the access token and secret token with
9391
the role assigned to deployed function.
9492

95-
Set up :manual:`unified AWS Access </atlas/security/set-up-unified-aws-access/>`:
93+
Set up `unified AWS Access <https://www.mongodb.com/docs/atlas/security/set-up-unified-aws-access/>`__:
9694

9795
1. Open the Lambda function in the AWS console
9896
2. In "Configuration > Permission", copy the "Role name"

0 commit comments

Comments
 (0)