Skip to content
This repository was archived by the owner on Apr 8, 2026. It is now read-only.

Commit ff1963c

Browse files
committed
Maintenance update
- Updated README.md to correct incorrect information - Removed grunt packages from all pakcage.json files
1 parent 6a23a8e commit ff1963c

10 files changed

Lines changed: 20 additions & 51 deletions

File tree

README.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,16 @@ git clone https://github.com/awslabs/aws-data-lake-solution.git
6161

6262
```
6363
export AWS_REGION=<aws-region-code>
64+
export SOLUTION_NAME=<your-solution-name>
6465
export VERSION_CODE=<version-code>
6566
export DEPLOY_BUCKET=<source-bucket-base-name>
67+
export CLOUDFORMATION_TEMPLATE_BUCKET=<cloudformation-template-bucket-name>
6668
```
67-
- **aws-region-code**: AWS region code. Ex: ```us-east-1```, ```us-west-2``` ...
68-
- **version-code**: version of the package
69-
- **source-bucket-base-name**: Name for the S3 bucket location where the template will source the Lambda code from. The template will append ```-[aws-region-code]``` to this bucket name. For example: ```./build-s3-dist.sh solutions v2.0.0```, the template will then expect the source code to be located in the ```solutions-[aws-region-code]``` bucket.
69+
- **aws-region-code**: AWS region code. e.g.: ```us-east-1```, ```us-west-2``` ...
70+
- **your-solution-name**: Your customized solution name. e.g. `aws-data-lake-solution`
71+
- **version-code**: Version of the package. e.g. `v1.0.0`
72+
- **source-bucket-base-name**: Name for the S3 bucket location where the template will source the Lambda code from. The template will append ```-[aws-region-code]``` to this bucket name. For example: ```./build-s3-dist.sh solutions aws-data-lake-solution v2.0.0 solutions```, the template will then expect the source code to be located in the ```solutions-[aws-region-code]``` bucket.
73+
- **cloudformation-template-bucket-name**: Name for the S3 bucket where the CloudFormation templates are going to be.
7074

7175
#### 04. Run the data lake solution unit tests:
7276
```
@@ -78,12 +82,13 @@ chmod +x run-unit-tests.sh
7882
#### 05. Build the data lake solution for deployment:
7983
```
8084
chmod +x build-s3-dist.sh
81-
./build-s3-dist.sh $DEPLOY_BUCKET $VERSION_CODE
85+
./build-s3-dist.sh $DEPLOY_BUCKET $SOLUTION_NAME $VERSION_CODE $CLOUDFORMATION_TEMPLATE_BUCKET
8286
```
8387

8488
#### 06. Upload deployment assets to your Amazon S3 bucket:
8589
```
86-
aws s3 cp ./dist s3://$DEPLOY_BUCKET/data-lake/$VERSION_CODE --recursive --acl bucket-owner-full-control
90+
aws s3 cp ./global-s3-assets s3://$CLOUDFORMATION_TEMPLATE_BUCKET/$SOLUTION_NAME/$VERSION_CODE --recursive --acl bucket-owner-full-control
91+
aws s3 cp ./regional-s3-assets s3://$DEPLOY_BUCKET-$AWS_REGION/$SOLUTION_NAME/$VERSION_CODE --recursive --acl bucket-owner-full-control
8792
```
8893

8994
#### 07. Deploy the data lake solution:
@@ -103,6 +108,6 @@ Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
103108

104109
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
105110

106-
http://www.apache.org/licenses/LICENSE-2.0
111+
http://www.apache.org/licenses/LICENSE-2.0
107112

108113
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

source/api/authorizer/package.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@
1717
"js-base64": "^2.4.9"
1818
},
1919
"devDependencies": {
20-
"grunt": "^0.4.5",
21-
"grunt-aws-lambda": "^0.13.0",
22-
"grunt-pack": "^0.1.*",
23-
"grunt-contrib-clean": "^2.0.0",
2420
"chai": "^4.2.0",
2521
"sinon": "^2.4.1",
2622
"sinon-chai": "^3.3.0",
@@ -44,4 +40,4 @@
4440
"underscore",
4541
"js-base64"
4642
]
47-
}
43+
}

source/api/services/admin/package.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,6 @@
2424
"aws-sdk-mock": "^4.5.0",
2525
"chai": "^4.2.0",
2626
"chai-things": "^0.2.0",
27-
"grunt": "^0.4.5",
28-
"grunt-aws-lambda": "^0.13.0",
29-
"grunt-contrib-clean": "^2.0.0",
30-
"grunt-pack": "0.1.*",
3127
"mocha": "^6.2.2",
3228
"npm-run-all": "^4.1.5",
3329
"sinon": "^2.4.1",
@@ -51,4 +47,4 @@
5147
"hat",
5248
"js-base64"
5349
]
54-
}
50+
}

source/api/services/cart/package.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@
1616
"access-validator": "file:../../../resources/access-validator/"
1717
},
1818
"devDependencies": {
19-
"grunt": "^0.4.5",
20-
"grunt-aws-lambda": "^0.13.0",
21-
"grunt-pack": "^0.1.*",
22-
"grunt-contrib-clean": "^2.0.0",
2319
"chai": "^4.2.0",
2420
"sinon": "^2.4.1",
2521
"sinon-chai": "^3.3.0",
@@ -41,4 +37,4 @@
4137
"underscore",
4238
"jsonschema"
4339
]
44-
}
40+
}

source/api/services/logging/package.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@
1313
"underscore": "^1.9.1"
1414
},
1515
"devDependencies": {
16-
"grunt": "^0.4.5",
17-
"grunt-aws-lambda": "^0.13.0",
18-
"grunt-pack": "^0.1.*",
19-
"grunt-contrib-clean": "^2.0.0",
2016
"chai": "^4.2.0",
2117
"sinon": "^2.4.1",
2218
"sinon-chai": "^3.3.0",
@@ -36,4 +32,4 @@
3632
"moment",
3733
"underscore"
3834
]
39-
}
35+
}

source/api/services/manifest/package.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@
1616
"devDependencies": {
1717
"aws-sdk-mock": "^4.5.0",
1818
"chai": "^4.2.0",
19-
"grunt": "^0.4.5",
20-
"grunt-aws-lambda": "^0.13.0",
21-
"grunt-contrib-clean": "^2.0.0",
22-
"grunt-pack": "^0.1.*",
2319
"mocha": "^6.2.2",
2420
"npm-run-all": "^4.1.5",
2521
"sinon": "^2.4.1",
@@ -38,4 +34,4 @@
3834
"shortid",
3935
"underscore"
4036
]
41-
}
37+
}

source/api/services/package/package.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@
2020
"aws-sdk-mock": "^4.5.0",
2121
"chai": "^4.2.0",
2222
"chai-things": "^0.2.0",
23-
"grunt": "^0.4.5",
24-
"grunt-aws-lambda": "^0.13.0",
25-
"grunt-contrib-clean": "^2.0.0",
26-
"grunt-pack": "^0.1.*",
2723
"mocha": "^6.2.2",
2824
"npm-run-all": "^4.1.5",
2925
"sinon": "^2.4.1",
@@ -43,4 +39,4 @@
4339
"jsonschema",
4440
"shortid"
4541
]
46-
}
42+
}

source/api/services/profile/package.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@
1818
"devDependencies": {
1919
"aws-sdk-mock": "^4.5.0",
2020
"chai": "^4.2.0",
21-
"grunt": "^0.4.5",
22-
"grunt-aws-lambda": "^0.13.0",
23-
"grunt-contrib-clean": "^2.0.0",
24-
"grunt-pack": "^0.1.*",
2521
"mocha": "^6.2.2",
2622
"npm-run-all": "^4.1.5",
2723
"sinon": "^2.4.1",
@@ -41,4 +37,4 @@
4137
"underscore",
4238
"hat"
4339
]
44-
}
40+
}

source/api/services/search/package.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@
1818
"devDependencies": {
1919
"aws-sdk-mock": "^4.5.0",
2020
"chai": "^4.2.0",
21-
"grunt": "^0.4.5",
22-
"grunt-aws-lambda": "^0.13.0",
23-
"grunt-contrib-clean": "^2.0.0",
24-
"grunt-pack": "^0.1.*",
2521
"mocha": "^6.2.2",
2622
"npm-run-all": "^4.1.5",
2723
"sinon": "^2.4.1",
@@ -42,4 +38,4 @@
4238
"moment",
4339
"underscore"
4440
]
45-
}
41+
}

source/resources/helper/package.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@
2020
"devDependencies": {
2121
"aws-sdk-mock": "^4.5.0",
2222
"chai": "^4.2.0",
23-
"grunt": "^0.4.5",
24-
"grunt-aws-lambda": "^0.13.0",
25-
"grunt-contrib-clean": "^2.0.0",
26-
"grunt-pack": "^0.1.*",
2723
"mocha": "^6.2.2",
2824
"npm-run-all": "^4.1.5",
2925
"sinon": "^2.4.1",
@@ -45,4 +41,4 @@
4541
"password-generator",
4642
"uuid"
4743
]
48-
}
44+
}

0 commit comments

Comments
 (0)