Skip to content

Commit 6cce4af

Browse files
committed
fix: add correct file path for AWS credentials
1 parent 2dfb738 commit 6cce4af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const AWS = require('aws-sdk'),
66
EC2 = require('aws-sdk/clients/ec2'),
77
https = require('https');
88

9-
AWS.config.loadFromPath('./config.json');
9+
AWS.config.loadFromPath(process.env.CONFIG);
1010
const config = require(process.env.CONFIG);
1111

1212
const ec2 = new EC2();

0 commit comments

Comments
 (0)