serverless-vpc-discovery 5.0.1 → 5.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18,11 +18,11 @@ const client_ec2_1 = require("@aws-sdk/client-ec2");
|
|
18
18
|
const globals_1 = __importDefault(require("../globals"));
|
19
19
|
class EC2Wrapper {
|
20
20
|
constructor(credentials) {
|
21
|
-
this.ec2 = new client_ec2_1.EC2Client(
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
21
|
+
this.ec2 = new client_ec2_1.EC2Client({
|
22
|
+
credentials,
|
23
|
+
region: globals_1.default.getRegion(),
|
24
|
+
retryStrategy: globals_1.default.getRetryStrategy()
|
25
|
+
});
|
26
26
|
}
|
27
27
|
/**
|
28
28
|
* Returns the promise that contains the vpc list
|