Open marcelmamula opened 2 months ago
@marcelmamula I don't think this is a good idea, for a handful of reasons:
x
OS Image applied to y
Profile, therefore I doubt SLES4SAP / RHEL4SAP OS Images will work with other Spot compute.Primarily No.1 is my reason for this apprehension. I don't have personal time available to code for each platform and re-test.
amazon.aws.ec2_instance
module does not support creation of Spot instanceshttps://docs.ansible.com/ansible/latest/collections/amazon/aws/ec2_instance_module.html
This module does not support creating EC2 Spot instances.
It would be good to add support for Spot instances by using module
amazon.aws.ec2_spot_instance
based on user specified variable with extra inputs for Spot specific inputs like Launch Group. https://docs.ansible.com/ansible/latest/collections/amazon/aws/ec2_spot_instance_module.html