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')),