ansible-community / ansible-community/molecule-plugins
gce: support `maxRunDuration`
- Dominant language
- Python
- Stars
- 164
- Forks
- 113
- Avg merge
- 4d 20h
- Merged PRs (30d)
- 1
Description
Sometimes `molecule` VMs might not get shut down when running them via CI. These VMs keep running and incurring uptime costs. It would be nice to support the `maxRunDuration` option on GCE VMs to give them a timeout after which they would automatically shut down.
https://docs.cloud.google.com/compute/docs/instances/limit-vm-runtime
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the GCE VM plugin and the code that creates its instances, then read the linked Google Cloud documentation for the maxRunDuration option. Confirm how plugin options are passed to GCE and add coverage if the repository has relevant tests. Done means users can configure the option and created VMs automatically shut down after the specified duration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- gcp, python
- Domain
- cloud
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100