Skip to content
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

Enable Scheduled Shutdown of Guacamole Windows VMs #4205

Open
tim-p-allen opened this issue Dec 17, 2024 · 0 comments · May be fixed by #4211
Open

Enable Scheduled Shutdown of Guacamole Windows VMs #4205

tim-p-allen opened this issue Dec 17, 2024 · 0 comments · May be fixed by #4211
Labels

Comments

@tim-p-allen
Copy link
Collaborator

As a user I want to specify a time that the VM will automatically shutdown each day to reduce costs.

This needs to be provided in the UI, hence the bundle template schema json will need updating, hence porter yaml, and terraform.

The terraform resource required can be found here.

https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/dev_test_global_vm_shutdown_schedule

Relates to #4186

marrobi added a commit that referenced this issue Dec 18, 2024
Fixes #4205

Add support for scheduled shutdown of Guacamole Windows VMs.

* Add `enable_shutdown_schedule`, `shutdown_time`, and `shutdown_timezone` properties to `template_schema.json`.
* Add `enable_shutdown_schedule`, `shutdown_time`, and `shutdown_timezone` parameters to `porter.yaml`.
* Add `azurerm_dev_test_global_vm_shutdown_schedule` resource to `windowsvm.tf`.
* Add `enable_shutdown_schedule`, `shutdown_time`, and `shutdown_timezone` variables to `variables.tf`.
* Update bundle version in `porter.yaml`.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/microsoft/AzureTRE/issues/4205?shareId=XXXX-XXXX-XXXX-XXXX).
@marrobi marrobi linked a pull request Dec 18, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant