We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e175958 commit 75ab0e2Copy full SHA for 75ab0e2
1 file changed
dist/index.js
@@ -55264,12 +55264,8 @@ class Config {
55264
throw new Error(`The 'github-token' input is not specified`);
55265
}
55266
55267
- if (!this.input.keyPairName) {
55268
- throw new Error(`Must specify a key pair name`);
55269
- }
55270
-
55271
if (this.input.mode === 'start') {
55272
- if (!this.input.ec2ImageId || !this.input.ec2InstanceType || !this.input.subnetId || !this.input.securityGroupId) {
+ if (!this.input.ec2ImageId || !this.input.ec2InstanceType || !this.input.subnetId || !this.input.securityGroupId || !this.input.keyPairName) {
55273
throw new Error(`Not all the required inputs are provided for the 'start' mode`);
55274
55275
} else if (this.input.mode === 'stop') {
0 commit comments