Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Allow more than one instance of this extension on a single VM #194

Open
phgogo opened this issue Feb 21, 2022 · 4 comments
Open

Allow more than one instance of this extension on a single VM #194

phgogo opened this issue Feb 21, 2022 · 4 comments

Comments

@phgogo
Copy link

phgogo commented Feb 21, 2022

I know that the documentation states...

You can have only one version of an extension applied to the VM. To run a second custom script, you can update the existing extension with a new configuration. Alternatively, you can remove the custom script extension and reapply it with the updated script.

... but i found this behaviour to be extremely inconvenient.

When you work on VMs as a Team, one team member might introduce a custom-script extension doing task A, while another creates one to do task B. They can all life in peace, until they want to deploy them on the same VM.

Un-Installing the first one is not a suitable solution since:

  • it make's it harder to debug, since there is no trace of the extension being installed
  • Languages like Terraform do not natively support deleting ressources after first provisioning, creating a need for hacky workarounds

Merging to extensions into a single one is painfull as well, if you've been using the "script" parameter in both extensions, which only supports a single script.

I would greatly appreciate it, if this behaviour could be changed! 💛

@MNashDev
Copy link

Would also appreciate this! Following

@dhirschfeld
Copy link

Would also appreciate this!

Might be an idea to upvote 👍 the request in case they take note of that sort of thing to prioritise requests.

I too find the current behaviour unexpected and extremely inconvenient and would love for multiple extensions to be able to live side-by-side.

I'm in a similar situation to the OP whereby another team pushes an extension by policy onto my machine so I have to wait for their extension to be installed before I can remove it and then add my own. None of that is easy to automate 😬

@jkroepke
Copy link

@norakoiralamsft can you look into this somehow?

@meistars
Copy link

meistars commented Oct 26, 2023

Meanwhile, its possible to achieve something similar with Managed Run Commands, allows multiple commands and supports ARM templates as well if you wish to deploy it for example with Azure Policy.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants