diff --git a/dist/index.js b/dist/index.js index d29f3eba..ee07dc1f 100644 --- a/dist/index.js +++ b/dist/index.js @@ -62989,13 +62989,9 @@ class Config { } if (this.input.mode === 'start') { - if (!this.input.ec2ImageId || !this.input.ec2InstanceType || !this.input.ec2Os || !this.input.subnetId || !this.input.securityGroupId) { + if (!this.input.ec2ImageId || !this.input.ec2InstanceType || !this.input.subnetId || !this.input.securityGroupId) { throw new Error(`Not all the required inputs are provided for the 'start' mode`); } - - if (this.input.ec2Os !== 'windows' && this.input.ec2Os !== 'linux') { - throw new Error(`Wrong ec2-os. Allowed values: windows or linux.`); - } } else if (this.input.mode === 'stop') { if (!this.input.label || !this.input.ec2InstanceId) { throw new Error(`Not all the required inputs are provided for the 'stop' mode`);