Skip to content

Commit

Permalink
style: added whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
theburningmonk committed Mar 28, 2020
1 parent d9c2698 commit 0001ba4
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib/apigw.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const regions = [
"ap-south-1",
"sa-east-1"
];

const getAllApiGwInRegion = async (region, AWS) => {
const HttpApiGw = new AWS.ApiGatewayV2({ region });

Expand Down Expand Up @@ -62,6 +63,7 @@ const getAllApiGwInRegion = async (region, AWS) => {

return foundApiGw;
};

const getAllApiGwCount = async AWS => {
const allApiPromises = regions.map(region => getAllApiGwInRegion(region, AWS));
const allApis = await Promise.all(allApiPromises);
Expand Down Expand Up @@ -112,6 +114,7 @@ const deleteAllApiGw = async AWS => {

return await Promise.all(apiToDeletePromises);
};

module.exports = {
deleteApiGw,
deleteAllApiGw,
Expand Down
1 change: 1 addition & 0 deletions src/lib/cloudformation.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ const getAllStacksCount = async AWS => {

return _.flatten(allStacks).length;
};

module.exports = {
getAllStacksInRegion,
deleteAllStacks,
Expand Down
1 change: 1 addition & 0 deletions src/lib/cloudwatch-logs.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ const getAllLogGroupsCount = async AWS => {

return _.flatten(allLogGroups).length;
};

module.exports = {
getAllLogGroupsInRegion,
deleteAllLogGroups,
Expand Down
1 change: 1 addition & 0 deletions src/lib/iam.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ const deleteAllRoles = async AWS => {

return await Promise.all(apiToDeletePromises);
};

module.exports = {
deleteAllRoles,
getAllRoles,
Expand Down
1 change: 1 addition & 0 deletions src/lib/s3.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ const getBucketCount = async AWS => {
const response = await S3.listBuckets().promise();
return response.Buckets.length;
};

module.exports = {
deleteAllBuckets,
getBucketCount
Expand Down

0 comments on commit 0001ba4

Please sign in to comment.