Skip to content

spot-instances-request tags breaks on-demand instances #4561

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Giaco9NN opened this issue Apr 22, 2025 · 4 comments · Fixed by #4562
Closed

spot-instances-request tags breaks on-demand instances #4561

Giaco9NN opened this issue Apr 22, 2025 · 4 comments · Fixed by #4562
Labels
bug Something isn't working

Comments

@Giaco9NN
Copy link

Hi.
Today we upgraded the module from version 6.4.3 to 6.5.1. Our groups based only on on-demand instances got stuck right after the upgrade. The scale-up lambda silently fails with this error:
"You cannot specify tags for Spot instances requests if there are no Spot instances requests being created by the request."

Below you can see the whole lambda logs:

logs.txt

How can we avoid putting those tags in the launch template when running only on-demand instances?

Thanks!

@npalm npalm added the bug Something isn't working label Apr 22, 2025
@npalm
Copy link
Member

npalm commented Apr 22, 2025

Thx for reporting, If time allows would you be great if you can raise a PR.

@npalm
Copy link
Member

npalm commented Apr 22, 2025

Created a PR, rquires some testing before merging.

@npalm
Copy link
Member

npalm commented Apr 23, 2025

@Giaco9NN
Copy link
Author

Hi @npalm, thanks for the help.
I didn't raise a pull request because I wanted to agree on the strategy before implementing it.

Thank you for the help and the rapid fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants