You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`--memory-size` or `-m`| No | Memory size (in MiB) for the New Relic log ingestion function. Default to 128MB. |
97
97
|`--nr-region`| No | The New Relic region to use for the integration. Can use the `NEW_RELIC_REGION` environment variable. Can be either `eu` or `us`. Defaults to `us`. |
98
98
|`--timeout` or `-t`| No | Timeout (in seconds) for the New Relic log ingestion function. Defaults to 30 seconds. |
99
+
|`--role-name`| No | Role name for the ingestion function. If you prefer to create and manage an IAM role for the function to assume out of band, do so and specify that role's name here. This avoids needing CAPABILITY_IAM. |
99
100
|`--aws-profile` or `-p`| No | The AWS profile to use for this command. Can also use `AWS_PROFILE`. Will also check `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` environment variables if not using AWS CLI. |
100
101
|`--aws-region` or `-r`| No | The AWS region for the integration. Can use `AWS_DEFAULT_REGION` environment variable. Defaults to AWS session region. |
101
102
|`--aws-role-policy`| No | Specify an alternative IAM role policy ARN for this integration. |
Updates the New Relic log ingestion function to the latest version.
119
+
Updates the New Relic log ingestion function to the latest version. Existing ingestion function parameters will
120
+
retain their values, unless you specify different values on the command line.
119
121
120
122
```bash
121
-
newrelic-lambda integrations update \
122
-
--nr-account-id <account id> \
123
-
--nr-api-key <api key>
123
+
newrelic-lambda integrations update
124
124
```
125
125
126
126
| Option | Required? | Description |
127
127
|--------|-----------|-------------|
128
-
|`--nr-account-id` or `-a`|Yes| The [New Relic Account ID](https://docs.newrelic.com/docs/accounts/install-new-relic/account-setup/account-id) for the integration. Only required if also uninstalling the New Relic AWS Lambda integration. Can also use the `NEW_RELIC_ACCOUNT_ID` environment variable. |
129
-
|`--nr-api-key` or `-k`|Yes| Your [New Relic User API Key](https://docs.newrelic.com/docs/apis/get-started/intro-apis/types-new-relic-api-keys#user-api-key). Can also use the `NEW_RELIC_API_KEY` environment variable. |
130
-
|`--disable-logs` or `-d`| No | Disables forwarding logs to New Relic Logging. This is disabled by default. Make sure you run `newrelic-lambda subscriptions install --function ...` afterwards. |
131
-
|`--enable-logs` or `-e`| No | Enables forwarding logs to New Relic Logging. This is disabled by default. Make sure you run `newrelic-lambda subscriptions install --function ... --filter-pattern ""` afterwards. |
132
-
|`--memory-size` or `-m`| No | Memory size (in MiB) for the New Relic log ingestion function. Default to 128MB. |
128
+
|`--nr-account-id` or `-a`|No| The [New Relic Account ID](https://docs.newrelic.com/docs/accounts/install-new-relic/account-setup/account-id) for the integration. Only required if changing the account to which the logs are sent. Can also use the `NEW_RELIC_ACCOUNT_ID` environment variable. |
129
+
|`--nr-api-key` or `-k`|No| Your [New Relic User API Key](https://docs.newrelic.com/docs/apis/get-started/intro-apis/types-new-relic-api-keys#user-api-key). Can also use the `NEW_RELIC_API_KEY` environment variable. Only required if changing the account to which the logs are sent. |
130
+
|`--disable-logs` or `-d`| No | Disables forwarding logs to New Relic Logging. Make sure you run `newrelic-lambda subscriptions install --function ...` afterwards. |
131
+
|`--enable-logs` or `-e`| No | Enables forwarding logs to New Relic Logging. Make sure you run `newrelic-lambda subscriptions install --function ... --filter-pattern ""` afterwards. |
132
+
|`--memory-size` or `-m`| No | Memory size (in MiB) for the New Relic log ingestion function. |
133
133
|`--nr-region`| No | The New Relic region to use for the integration. Can use the `NEW_RELIC_REGION` environment variable. Can be either `eu` or `us`. Defaults to `us`. |
134
-
|`--timeout` or `-t`| No | Timeout (in seconds) for the New Relic log ingestion function. Defaults to 30 seconds. |
134
+
|`--timeout` or `-t`| No | Timeout (in seconds) for the New Relic log ingestion function. |
135
+
|`--role-name`| No | Role name for the ingestion function. If you prefer to create and manage an IAM role for the function to assume out of band, do so and specify that role's name here. This avoids needing CAPABILITY_IAM. |
135
136
|`--aws-profile` or `-p`| No | The AWS profile to use for this command. Can also use `AWS_PROFILE`. Will also check `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` environment variables if not using AWS CLI. |
136
137
|`--aws-region` or `-r`| No | The AWS region for the integration. Can use `AWS_DEFAULT_REGION` environment variable. Defaults to AWS session region. |
0 commit comments