Skip to content

Commit c47d785

Browse files
authored
Merge pull request #11 from stuart-robinson/master
Fix SAM template naming issue in build-pipeline.md
2 parents 7f3b443 + ab6bec8 commit c47d785

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

doc_source/build-pipeline.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ To set up your repository, do the following:
142142
```
143143
var time = require('time');
144144
exports.handler = (event, context, callback) => {
145-
var currentTime = new time.Date();
145+
var currentTime = new time.Date();
146146
currentTime.setTimezone("America/Los_Angeles");
147147
callback(null, {
148148
statusCode: '200',
@@ -180,12 +180,11 @@ To set up your repository, do the following:
180180
install:
181181
commands:
182182
- npm install time
183-
- aws cloudformation package --template-file samTemplate.yaml --kms-key-id kms-key-id --s3-bucket bucket-name
183+
- aws cloudformation package --template-file samTemplate.yaml --s3-bucket bucket-name
184184
--output-template-file outputSamTemplate.yaml
185185
artifacts:
186186
type: zip
187187
files:
188-
- samTemplate.yaml
189188
- outputSamTemplate.yaml
190189
```
191190
@@ -239,7 +238,7 @@ A service role for AWS CodeBuild is automatically created on your behalf\.
239238
240239
1. Choose **Create role**, choose **Next**, choose **Allow**, and then choose **Next step**\.
241240
242-
1. Review your pipeline and then choose **Create pipeline**\.
241+
1. Review your pipeline and then choose **Create pipeline**\.
243242
244243
## Step 3: Update the Generated Service Policy<a name="update-policy"></a>
245244

0 commit comments

Comments
 (0)