Skip to content

Commit 7d600d3

Browse files
erictheisesanathkr
authored andcommitted
Update globals.rst to improve grammar and readability (aws#329)
1 parent 0ca5404 commit 7d600d3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/globals.rst

+6-6
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ Globals Section
44
.. contents::
55

66
Resources in a SAM template tend to have shared configuration such as Runtime, Memory,
7-
VPC Settings, Environment Variables, Cors etc. Instead of duplicating this information in every resource, you can
8-
write them once in the ``Globals`` section and let all resources inhert it.
7+
VPC Settings, Environment Variables, Cors, etc. Instead of duplicating this information in every resource, you can
8+
write them once in the ``Globals`` section and let all resources inherit it.
99

1010
Example:
1111

@@ -39,7 +39,7 @@ Example:
3939
4040
4141
In the above example, both ``HelloWorldFunction`` and ``ThumbnailFunction`` will use nodejs6.10 runtime, 180 seconds
42-
timeout and index.handler Handler. ``HelloWorldFunction`` adds MESSAGE environnment variable in addition to the
42+
timeout and index.handler Handler. ``HelloWorldFunction`` adds MESSAGE environment variable in addition to the
4343
inherited TABLE_NAME. ``ThumbnailFunction`` inherits all the Globals properties and adds an API Event source.
4444

4545
Supported Resources
@@ -89,8 +89,8 @@ Globals to override all properties of Implicit APIs as well.
8989
Unsupported Properties
9090
~~~~~~~~~~~~~~~~~~~~~~
9191

92-
Following properties of are **not** supported in Globals section. We made the explicitly
93-
call to not support them because it either made the template hard to understand or opens scope for potential security
92+
Following properties are **not** supported in Globals section. We made the explicit
93+
call to not support them because it either made the template hard to understand or opened scope for potential security
9494
issues.
9595

9696
**AWS::Serverless::Function:**
@@ -163,7 +163,7 @@ Environment variables of ``MyFunction`` will be set to ``{ TABLE_NAME: "resource
163163
TABLE_NAME: resource-table
164164
NEW_VAR: hello
165165
166-
Lists are additivie
166+
Lists are additive
167167
~~~~~~~~~~~~~~~~~~~
168168
*Also called as arrays*
169169

0 commit comments

Comments
 (0)