Skip to content
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

Getting CredentialsError: Missing credentials in config #1

Open
sarvesh-ranjan opened this issue Jul 11, 2017 · 0 comments
Open

Getting CredentialsError: Missing credentials in config #1

sarvesh-ranjan opened this issue Jul 11, 2017 · 0 comments

Comments

@sarvesh-ranjan
Copy link

When I try to do make deploy I get following error.
Error Code:
`=> Reading zip file to memory
=> Reading event source file to memory
=> Uploading zip file to AWS Lambda us-west-2 with parameters:
{ FunctionName: 'notifySparkv2-development',
Code: { ZipFile: <Buffer 50 4b 03 04 14 00 00 00 08 00 bc 74 eb 4a a7 07 34 50 13 01 00 00 94 01 00 00 04 00 1c 00 2e 65 6e 76 55 54 09 00 03 b3 d4 64 59 b3 d4 64 59 75 78 0b ... > },
Handler: 'index.handler',
Role: 'arn:aws:iam::00000000:role/CloudwatchReporting',
Runtime: 'nodejs6.10',
Description: 'Better Cisco Spark notifications for AWS CloudWatch',
MemorySize: '128',
Timeout: '3',
Publish: false,
VpcConfig: { SubnetIds: [], SecurityGroupIds: [] },
Environment: { Variables: {} },
DeadLetterConfig: { TargetArn: '' } }
/Users/saranjan/workspace/zeus/lambda-cloudwatch-spark/node_modules/aws-sdk/lib/request.js:31
throw err;
^

CredentialsError: Missing credentials in config
at SharedIniFileCredentials.refresh (/Users/saranjan/workspace/zeus/lambda-cloudwatch-spark/node_modules/aws-sdk/lib/credentials/shared_ini_file_credentials.js:98:11)
at SharedIniFileCredentials.get (/Users/saranjan/workspace/zeus/lambda-cloudwatch-spark/node_modules/aws-sdk/lib/credentials.js:121:12)
at getAsyncCredentials (/Users/saranjan/workspace/zeus/lambda-cloudwatch-spark/node_modules/aws-sdk/lib/config.js:327:24)
at Config.getCredentials (/Users/saranjan/workspace/zeus/lambda-cloudwatch-spark/node_modules/aws-sdk/lib/config.js:347:9)
at Request.VALIDATE_CREDENTIALS (/Users/saranjan/workspace/zeus/lambda-cloudwatch-spark/node_modules/aws-sdk/lib/event_listeners.js:80:26)
at Request.callListeners (/Users/saranjan/workspace/zeus/lambda-cloudwatch-spark/node_modules/aws-sdk/lib/sequential_executor.js:101:18)
at Request.emit (/Users/saranjan/workspace/zeus/lambda-cloudwatch-spark/node_modules/aws-sdk/lib/sequential_executor.js:77:10)
at Request.emit (/Users/saranjan/workspace/zeus/lambda-cloudwatch-spark/node_modules/aws-sdk/lib/request.js:683:14)
at Request.transition (/Users/saranjan/workspace/zeus/lambda-cloudwatch-spark/node_modules/aws-sdk/lib/request.js:22:10)
at AcceptorStateMachine.runTo (/Users/saranjan/workspace/zeus/lambda-cloudwatch-spark/node_modules/aws-sdk/lib/state_machine.js:14:12)
make: *** [deploy] Error 1
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant