Update README (remove --endpoint of run subcommand, add --endpoint of deploy subcommand)#514
Merged
DeviaVir merged 4 commits intomotdotla:masterfrom Feb 12, 2020
inokappa:remove-endpoint-option-for-readme
Merged
Update README (remove --endpoint of run subcommand, add --endpoint of deploy subcommand)#514DeviaVir merged 4 commits intomotdotla:masterfrom inokappa:remove-endpoint-option-for-readme
DeviaVir merged 4 commits intomotdotla:masterfrom
inokappa:remove-endpoint-option-for-readme
Conversation
DeviaVir
reviewed
Dec 27, 2019
| -z, --deployZipfile [] Deploy zipfile | ||
| -B, --deployUseS3 [] Use S3 to deploy. | ||
| -y, --proxy [] Proxy server | ||
| -A, --tags [] 'Tags as key value pairs (e.g. "tagname1=tagvalue1,tagname2=tagvalue2") (default: "") |
Collaborator
There was a problem hiding this comment.
did you mean to drop tags?
Contributor
Author
There was a problem hiding this comment.
I was not going to remove the --tags option. That is my mistake.
I'm Sorry.
DeviaVir
approved these changes
Feb 12, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi
I removed
--endpointof run subcommand.Because the
--endpointoption does not exist in the run subcommand.And, the
--endpointoption was missing from thedeploysubcommand,$ ./node_modules/node-lambda/bin/node-lambda deploy --help Usage: deploy [options] Deploy your application to Amazon Lambda Options: -e, --environment [AWS_ENVIRONMENT] Choose environment {dev, staging, production} (default: "") -E, --endpoint [AWS_ENDPOINT] Choose endpoint (e.g. localstack, "http://127.0.0.1:4574") (default: "") -a, --accessKey [AWS_ACCESS_KEY_ID] AWS Access Key (default: "") -s, --secretKey [AWS_SECRET_ACCESS_KEY] AWS Secret Key (default: "") -P, --profile [AWS_PROFILE] AWS Profile (default: "yamap-kawahara.yohei") -k, --sessionToken [AWS_SESSION_TOKEN] AWS Session Token (default: "") -r, --region [AWS_REGION] AWS Region (default: "ap-northeast-1") -n, --functionName [AWS_FUNCTION_NAME] Lambda FunctionName (default: "lambda-cloudwatch-slack") -H, --handler [AWS_HANDLER] Lambda Handler {index.handler} (default: "index.handler") -o, --role [AWS_ROLE] Amazon Role ARN (default: "your_amazon_role") -m, --memorySize [AWS_MEMORY_SIZE] Lambda Memory Size (default: "128") -t, --timeout [AWS_TIMEOUT] Lambda Timeout (default: "3") -d, --description [AWS_DESCRIPTION] Lambda Description (default: "Better Slack notifications for AWS CloudWatch") -u, --runtime [AWS_RUNTIME] Lambda Runtime (default: "nodejs10.x") -p, --publish [AWS_PUBLISH] Lambda Publish (default: false) -L, --lambdaVersion [AWS_FUNCTION_VERSION] Lambda Function Version (default: "") -b, --vpcSubnets [AWS_VPC_SUBNETS] Lambda Function VPC Subnets (default: "") -g, --vpcSecurityGroups [AWS_VPC_SECURITY_GROUPS] Lambda VPC Security Group (default: "") -K, --kmsKeyArn [AWS_KMS_KEY_ARN] Lambda KMS Key ARN (default: "") -Q, --deadLetterConfigTargetArn [AWS_DLQ_TARGET_ARN] Lambda DLQ resource -c, --tracingConfig [AWS_TRACING_CONFIG] Lambda tracing settings (default: "") -l, --layers [AWS_LAYERS] Lambda Layers settings (e.g. "ARN1,ARN2[,..])" (default: "") -R, --retentionInDays [AWS_LOGS_RETENTION_IN_DAYS] CloudWatchLogs retentionInDays settings (default: "") -G, --sourceDirectory [SRC_DIRECTORY] Path to lambda source Directory (e.g. "./some-lambda") (default: "") -I, --dockerImage [DOCKER_IMAGE] Docker image for npm install (default: "") -f, --configFile [CONFIG_FILE] Path to file holding secret environment variables (e.g. "deploy.env") (default: "") -S, --eventSourceFile [EVENT_SOURCE_FILE] Path to file holding event source mapping variables (e.g. "event_sources.json") (default: "") -x, --excludeGlobs [EXCLUDE_GLOBS] Space-separated glob pattern(s) for additional exclude files (e.g. "event.json dotenv.sample") (default: "event.json") -D, --prebuiltDirectory [PREBUILT_DIRECTORY] Prebuilt directory (default: "") -T, --deployTimeout [DEPLOY_TIMEOUT] Deploy Timeout (default: 120000) -z, --deployZipfile [DEPLOY_ZIPFILE] Deploy zipfile (default: "") -B, --deployUseS3 [DEPLOY_USE_S3] Use S3 to deploy. (default: false) -y, --proxy [PROXY] Proxy server (default: "") -h, --help output usage informationPlease confirm 🙏
Regards.
Yohei