File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ will look like this:
78
78
- ${bref-extra:mongodb-php-83}
79
79
80
80
81
- Let's use the MongoDB driver with a web page that list planets from Atlas'
81
+ Let's use the MongoDB driver with a web page that list planets from the Atlas
82
82
`sample dataset <https://www.mongodb.com/docs/atlas/sample-data/>`__.
83
83
Replace the contents of ``index.php`` with the following:
84
84
@@ -105,7 +105,7 @@ AWS sets environment variables that contains the access token and secret token w
105
105
the role assigned to deployed function.
106
106
107
107
1. Open the Lambda function in the AWS console
108
- 2. In " Configuration > Permission" , copy the "Role name"
108
+ 2. In :guilabel:` Configuration > Permission` , copy the "Role name"
109
109
3. Add this role to your Atlas cluster with the built-in Role: "Read and write any database"
110
110
111
111
To learn how to set up unified AWS access, see `Set Up Unified AWS Access
@@ -136,7 +136,7 @@ Update the ``serverless.yml`` file to pass the environment variable ``MONGODB_UR
136
136
environment:
137
137
MONGODB_URI: "mongodb+srv://cluster0.example.mongodb.net/?authSource=%24external&authMechanism=MONGODB-AWS&retryWrites=true&w=majority"
138
138
139
- Finally, deploy with the new configuration. Once done you can access the function URL
139
+ Finally, deploy with the new configuration. After deployment completes, you can access the function URL
140
140
and see the list of planets from your Atlas cluster.
141
141
142
142
.. code-block:: none
You can’t perform that action at this time.
0 commit comments