Skip to content

Commit

Permalink
Fix instance-type param name
Browse files Browse the repository at this point in the history
  • Loading branch information
rogisolorzano committed Mar 22, 2023
1 parent d8748e8 commit 47e91f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')),
Expand Down
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<string[]>(getInput('startup-commands')),
keyName: optional(getInput('key-name')),
Expand Down

0 comments on commit 47e91f4

Please sign in to comment.