ansible-collections / ansible-collections/google.cloud

google.cloud.gcp_compute_instance: Add support for launching Spot VMs

Open
#646 1 comment 5 reactions 0 assignees View on GitHub
stale
Dominant language
Python
Stars
105
Forks
144
Avg merge
5d 10h
Merged PRs (30d)
4

Description

##### SUMMARY
Add some attribute to set equivalent of --provisioning-model=SPOT on the CLI

##### ISSUE TYPE
- Feature Idea

##### COMPONENT NAME
google.cloud.gcp_compute_instance

##### ADDITIONAL INFORMATION
Currently only pre-emptible VMs can be created via the [scheduling.preemptible](https://docs.ansible.com/ansible/latest/collections/google/cloud/gcp_compute_instance_module.html#return-scheduling/preemptible) atttribute...which is not same-same sadly...

Contributor guide

Open the contributing guide

Research direction

Start with the google.cloud.gcp_compute_instance module and compare its scheduling.preemptible option with the GCP CLI's --provisioning-model=SPOT behavior. Done means the module exposes an attribute that launches Spot VMs and distinguishes that setting from preemptible VMs.

Written by the indexing model from the issue text.

Assessment

Tech stack
ansible, gcp, python
Domain
cloud, devops
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
62/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.