Azure / terraform-azurerm-avm-res-compute-virtualmachine

Terraform AVM module for virtual machines
MIT License
21 stars 27 forks source link

[AVM Module Issue]: support azurerm_virtual_machine_run_command #115

Open paul-e-martin opened 1 month ago

paul-e-martin commented 1 month ago

Check for previous/existing GitHub issues

Issue Type?

Feature Request

(Optional) Module Version

No response

(Optional) Correlation Id

No response

Description

Due to azure limitations with custom script extensions (IE, only being able to deploy a single custom script extension), we have used the azurerm_virtual_machine_run_command to deploy multiple scripts to virtual machines. Would it be possible to include this resource ?

microsoft-github-policy-service[bot] commented 1 month ago

[!WARNING] Tagging the AVM Core Team (@Azure/avm-core-team-technical-terraform) due to a module owner or contributor having not responded to this issue within 3 business days. The AVM Core Team will attempt to contact the module owners/contributors directly.

[!TIP]

  • To prevent further actions to take effect, the "Status: Response Overdue 🚩" label must be removed, once this issue has been responded to.
  • To avoid this rule being (re)triggered, the ""Needs: Triage :mag:" label must be removed as part of the triage process (when the issue is first responded to)!
jchancellor-ms commented 1 month ago

@paul-e-martin - I will review this to see what's possible. The challenge with run commands is making them reasonably idempotent. We did some specific implementation work on another module that had run commands but didn't support them generically. Let me see if I can figure out an acceptable way to support them and stay within the overall intent of the project.