Skip to content

Commit

Permalink
Init and build
Browse files Browse the repository at this point in the history
  • Loading branch information
Strnadj committed Jun 16, 2022
1 parent 54b3660 commit bc44591
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -35000,14 +35000,6 @@ module.exports = v4;
}).call(this);


/***/ }),

/***/ 99473:
/***/ ((module) => {

module.exports = eval("require")("wildcard-match");


/***/ }),

/***/ 39491:
Expand Down Expand Up @@ -40533,14 +40525,21 @@ var __webpack_exports__ = {};
(() => {
const core = __nccwpck_require__(42186);
const AWS = __nccwpck_require__(71786);
const wmatch = __nccwpck_require__(99473);

const s3 = new AWS.ECS();
const resourcegroupstaggingapi = new AWS.ResourceGroupsTaggingAPI();

const parseJsonFromMultiline = (value) => {
if (Array.isArray(value)) {
return JSON.parse(value[0]);
} else {
return JSON.parse(value);
}
}

const main = async () => {
const cluster = core.getInput("cluster", { required: true });
const tagFilters = JSON.parse(core.getMultilineInput("tag_filters", { required: true }));
const tagFilters = parseJsonFromMultiline(core.getMultilineInput("tag_filters", { required: true }));

core.debug("Finding services with proper tags...");

Expand Down

0 comments on commit bc44591

Please sign in to comment.