Skip to content

Commit

Permalink
Merge pull request #220 from ts-amz/license_update
Browse files Browse the repository at this point in the history
chore: add license value to package.json, correct openssl readme
  • Loading branch information
ts-amz authored Jul 15, 2024
2 parents 6e23574 + 21fa3d0 commit 90a2063
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 20 deletions.
23 changes: 12 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{
"description": "Placeholder package.json for allowing generic npm commands rather than rush directly. Be careful with paths because rush commands execute in the source directory.",
"scripts": {
"build": "npm run rush -- bundle",
"clean": "npm run rush -- clean",
"lint": "npm run rush -- lint",
"pack": "npm run rush -- publish --pack --include-all --publish --release-folder \"$PWD/artifacts/npm\"",
"postinstall": "npm run rush -- update",
"rush": "node source/cicd/rush.js",
"test": "JEST_MAX_WORKERS=1 npm run rush -- test"
}
}
"description": "Placeholder package.json for allowing generic npm commands rather than rush directly. Be careful with paths because rush commands execute in the source directory.",
"license": "Apache-2.0",
"scripts": {
"build": "npm run rush -- bundle",
"clean": "npm run rush -- clean",
"lint": "npm run rush -- lint",
"pack": "npm run rush -- publish --pack --include-all --publish --release-folder \"$PWD/artifacts/npm\"",
"postinstall": "npm run rush -- update",
"rush": "node source/cicd/rush.js",
"test": "JEST_MAX_WORKERS=1 npm run rush -- test"
}
}
18 changes: 9 additions & 9 deletions source/infrastructure/lambdaLayers/openssl/README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
# OpenSSL Lambda Layer

The Amazon Linux v2 lambda container does not include the OpenSSL unlike Amazon Linux v1. Therefore, for modules that need to conusme it such as the CDF Bulk Certificates module, we now make OpenSSL available via a Lambda layer for when CDF is deployed upon the Lambda runtime.
The Amazon Linux v2 lambda container does not include the OpenSSL unlike Amazon Linux v1. Therefore, for modules that need to consume it such as the CDF Bulk Certificates module, we now make OpenSSL available via a Lambda layer for when CDF is deployed upon the Lambda runtime.

Modules that consume OpenSSL (via the `pem` node.js library) are:

- auth-devicecert
- auth-jwt
- bulkcerts
- certificateactivator
- certificatevendor
- provisioning
- auth-devicecert
- auth-jwt
- bulkcerts
- certificateactivator
- certificatevendor
- provisioning

## Preparing:

```sh
$> infrastructure/package.bash
$> infrastructure/build.bash
```

The above will use a Docker container to install OpenSSL upon an Amazon Linux v2 images, then zip it.
Expand All @@ -25,4 +25,4 @@ The above will use a Docker container to install OpenSSL upon an Amazon Linux v2
$> infrastructure/deploy.bash
```

The above will take the `build.zip` generated by the package step and deploy as a Lambda Layer.
The above will take the `build.zip` generated by the package step and deploy as a Lambda Layer.

0 comments on commit 90a2063

Please sign in to comment.