crc-org / crc-cloud

Disposable OpenShift instances on cloud in minutes
31 stars 19 forks source link

Error: strconv.Atoi: parsing "": invalid syntax #164

Closed adrianriobo closed 9 months ago

adrianriobo commented 9 months ago

Running crc-cloud from main we are hitting:

error creating the cluster with aws provider: error creating request for cluster machine: strconv.Atoi: parsing "": invalid syntax
adrianriobo commented 9 months ago

This was happening because all params defined by aws provider was passed to the provider no matter if they were set or not on the cmd execution.

The values passed for them were empty string, in this particular case it was expecting a string which should be converted to int and that empty string cause the error