Skip to content

Commit

Permalink
chore: error message
Browse files Browse the repository at this point in the history
Co-authored-by: Kevin Ingersoll <[email protected]>
  • Loading branch information
yonadaaa and holic authored Apr 29, 2024
1 parent 2c82434 commit cf81602
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/runDeploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export async function runDeploy(opts: DeployOptions): Promise<WorldDeploy> {
if (opts.kms) {
const keyId = process.env.AWS_KMS_KEY_ID;
if (!keyId) {
throw new MUDError("Missing AWS KMS Key ID");
throw new MUDError("Missing `AWS_KMS_KEY_ID` environment variable. This is required when using with `--kms` option.");
}

return await kmsKeyToAccount({ keyId });
Expand Down

0 comments on commit cf81602

Please sign in to comment.