-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugin assumes aws-sdk preconfiguration #2
Comments
this issue is now noted in the readme. will await use cases before taking action. |
Can you please give me an advice? How can I configure aws-sdk library as you noted here? I am new to nodejs and I have no idea how to do this. Thanks |
For example: http://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/loading-node-credentials-environment.html
Configuration that is not based on environment variable settings will require you write a script that loads the The key knowledge here is that So, for example, you could set a proxy:
|
Great. Thanks for fast and exhaustive reply. |
Only for specification / clarification of my issue. I was getting this error:
I had to set AWS region (not AWS credentials) to get rid of this error. It can be done in same way as described above. I've just define enviroment variable AWS_REGION:
Documentation about configuring AWS region is here. |
The plugin assumes that the aws-sdk library has been configured with credentials, proxy agent settings, et cetera before
artillery-plugin-cloudwatch
is loaded (i.e. during the creation of anrequire('artillery-core').runner
). As a result, if such configuration has not been applied to theaws-sdk
library then the call to cloudwatch will fail.The text was updated successfully, but these errors were encountered: