From 47e91f4586c9b70a5e095b7612479c905da00b1f Mon Sep 17 00:00:00 2001 From: Rogi Solorzano Date: Wed, 22 Mar 2023 09:02:59 -0500 Subject: [PATCH] Fix instance-type param name --- dist/index.js | 2 +- src/config.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 0218b79..bbf0b72 100644 --- a/dist/index.js +++ b/dist/index.js @@ -25,7 +25,7 @@ exports.config = { imageId: required((0, core_1.getInput)('image-id')), runnerDirectory: required((0, core_1.getInput)('runner-directory')), securityGroupId: required((0, core_1.getInput)('security-group-id')), - instanceType: (_a = optional((0, core_1.getInput)('ec2-instance-type'))) !== null && _a !== void 0 ? _a : 't2.micro', + instanceType: (_a = optional((0, core_1.getInput)('instance-type'))) !== null && _a !== void 0 ? _a : 't2.micro', iamRoleName: optional((0, core_1.getInput)('iam-role-name')), startupCommands: optionalJson((0, core_1.getInput)('startup-commands')), keyName: optional((0, core_1.getInput)('key-name')), diff --git a/src/config.ts b/src/config.ts index 3ad82db..bf36bbe 100644 --- a/src/config.ts +++ b/src/config.ts @@ -20,7 +20,7 @@ export const config = { imageId: required(getInput('image-id')), runnerDirectory: required(getInput('runner-directory')), securityGroupId: required(getInput('security-group-id')), - instanceType: optional(getInput('ec2-instance-type')) ?? 't2.micro', + instanceType: optional(getInput('instance-type')) ?? 't2.micro', iamRoleName: optional(getInput('iam-role-name')), startupCommands: optionalJson(getInput('startup-commands')), keyName: optional(getInput('key-name')),