Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add license value to package.json, correct openssl readme #220

Merged
merged 1 commit into from
Jul 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Loading