Skip to content

Commit

Permalink
Merge pull request awsdocs#11 from stuart-robinson/master
Browse files Browse the repository at this point in the history
Fix SAM template naming issue in build-pipeline.md
  • Loading branch information
mwunderl authored Apr 2, 2019
2 parents 7f3b443 + ab6bec8 commit c47d785
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions doc_source/build-pipeline.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ To set up your repository, do the following:
```
var time = require('time');
exports.handler = (event, context, callback) => {
var currentTime = new time.Date();
var currentTime = new time.Date();
currentTime.setTimezone("America/Los_Angeles");
callback(null, {
statusCode: '200',
Expand Down Expand Up @@ -180,12 +180,11 @@ To set up your repository, do the following:
install:
commands:
- npm install time
- aws cloudformation package --template-file samTemplate.yaml --kms-key-id kms-key-id --s3-bucket bucket-name
- aws cloudformation package --template-file samTemplate.yaml --s3-bucket bucket-name
--output-template-file outputSamTemplate.yaml
artifacts:
type: zip
files:
- samTemplate.yaml
- outputSamTemplate.yaml
```
Expand Down Expand Up @@ -239,7 +238,7 @@ A service role for AWS CodeBuild is automatically created on your behalf\.
1. Choose **Create role**, choose **Next**, choose **Allow**, and then choose **Next step**\.
1. Review your pipeline and then choose **Create pipeline**\.
1. Review your pipeline and then choose **Create pipeline**\.
## Step 3: Update the Generated Service Policy<a name="update-policy"></a>
Expand Down

0 comments on commit c47d785

Please sign in to comment.