From 21fa3d0ec38da8b653f4bc08e8bed033a978b9ba Mon Sep 17 00:00:00 2001
From: Tyler Samson <tylesams@amazon.com>
Date: Mon, 15 Jul 2024 17:43:57 -0400
Subject: [PATCH] chore: add license value to package.json, correct openssl
 readme

---
 package.json                                  | 23 ++++++++++---------
 .../lambdaLayers/openssl/README.md            | 18 +++++++--------
 2 files changed, 21 insertions(+), 20 deletions(-)

diff --git a/package.json b/package.json
index 1784fc05f..963a5721e 100644
--- a/package.json
+++ b/package.json
@@ -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"
-    }
-}
\ No newline at end of file
+  "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"
+  }
+}
diff --git a/source/infrastructure/lambdaLayers/openssl/README.md b/source/infrastructure/lambdaLayers/openssl/README.md
index cc16433c9..17e86ef4e 100644
--- a/source/infrastructure/lambdaLayers/openssl/README.md
+++ b/source/infrastructure/lambdaLayers/openssl/README.md
@@ -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.
@@ -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.
\ No newline at end of file
+The above will take the `build.zip` generated by the package step and deploy as a Lambda Layer.