Open huonw opened 6 months ago
The docs in the README for newrelic-lambda integrations update suggests that two arguments are optional: with the phrase "Only required if changing the account to which the logs are sent" and . They appear to be required in practice:
newrelic-lambda integrations update
https://github.com/newrelic/newrelic-lambda-cli/blob/f472e28ce78227986d0e1625cce1f54c7f76e075/README.md#L148-L149
newrelic-lambda integrations update --nr-account-id 0
One of:
--nr-account-id unchanged
Error: Missing option '--nr-account-id' / '-a'.
--nr-account-id 0
Error: Missing option '--nr-api-key' / '-k'.
macOS
# requirements.txt newrelic-lambda-cli==0.9.0 boto3==1.34.59 botocore==1.34.59 jmespath==1.0.1 python-dateutil==2.9.0.post0 six==1.16.0 urllib3==2.0.7 s3transfer==0.10.0 click==8.1.7 colorama==0.4.6 emoji==2.10.1 gql==2.0.0 graphql-core==2.3.2 promise==2.3 Rx==1.6.3 requests==2.31.0 charset-normalizer==3.3.2 idna==3.6 certifi==2024.2.2 tabulate==0.9.0
N/A
Description
The docs in the README for
newrelic-lambda integrations update
suggests that two arguments are optional: with the phrase "Only required if changing the account to which the logs are sent" and . They appear to be required in practice:https://github.com/newrelic/newrelic-lambda-cli/blob/f472e28ce78227986d0e1625cce1f54c7f76e075/README.md#L148-L149
Steps to Reproduce
newrelic-lambda integrations update
without any argsnewrelic-lambda integrations update --nr-account-id 0
Expected Behaviour
One of:
--nr-account-id unchanged
or somethingRelevant Logs / Console output
Error: Missing option '--nr-account-id' / '-a'.
--nr-account-id 0
only:Error: Missing option '--nr-api-key' / '-k'.
Your Environment
macOS
Additional context
N/A