Skip to content

Commit cb8f079

Browse files
authoredJun 10, 2021
Merge pull request #287 from bl-ue/patch-1
Fix typos in getting-started-create-function.md
2 parents 5772b7a + 730c4f6 commit cb8f079

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎doc_source/getting-started-create-function.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ In this getting started exercise, you create a Node\.js Lambda function using th
2424

2525
1. For **Function name**, enter **my\-function**\.
2626

27-
1. For **Runtime**, confirm that **Node\.js 14\.x** is selected\. Note that Lambda provides runtimes for \.NET \(PowerShell,C\#\) Go, Java, Node\.js, Python, and Ruby\.
27+
1. For **Runtime**, confirm that **Node\.js 14\.x** is selected\. Note that Lambda provides runtimes for \.NET \(PowerShell, C\#\) Go, Java, Node\.js, Python, and Ruby\.
2828

2929
1. Choose **Create function**\.
3030

@@ -242,7 +242,7 @@ For example, use the IAM console to create a role with the following policy:
242242
{
243243
"Sid": "VisualEditor0",
244244
"Effect": "Allow",
245-
"Action": ["ecr:SetRepositoryPolicy","ecr:GetRepositoryPolicy", "ecr:InitiateLayerUpload],
245+
"Action": ["ecr:SetRepositoryPolicy","ecr:GetRepositoryPolicy", "ecr:InitiateLayerUpload"],
246246
"Resource": "arn:aws:ecr:<region>:<account>:repository/<repo name>/"
247247
}
248248
]
@@ -341,4 +341,4 @@ If you are done working with your function, delete it\. You can also delete the
341341
342342
1. In the **Delete role** dialog box, choose **Yes, delete**\.
343343
344-
You can automate the creation and cleanup of functions, log groups, and roles with AWS CloudFormation and the AWS CLI\. For fully functional sample applications, see [Lambda sample applications](lambda-samples.md)\.
344+
You can automate the creation and cleanup of functions, log groups, and roles with AWS CloudFormation and the AWS CLI\. For fully functional sample applications, see [Lambda sample applications](lambda-samples.md)\.

0 commit comments

Comments
 (0)
Please sign in to comment.