Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

lotas
Copy link
Contributor

@lotas lotas commented Sep 25, 2025

This feature adds ARM Templates support for azure launch configs.
Current implementation is using resource by resource provisioning (and deprovisioning) which becomes very slow with the rising number of workers to check.

ARM Templates allow single async operation (start + check status calls) to trigger deployment and let Azure resource manager figure out full provisioning.
And if template is crafted correctly (deleteOption: Delete for resources), it would also allow to deprovision instance quickly, removing all dependent resources automatically.

There is also a requirement for template to include proper outputs for its resources. (to be documented and validated)

This allows azure to accept arm template deployments in launch configs.

TODO:

  • schema change
  • documentation with instructions how to craft templates
  • add template spec validator for required outputs to be present
  • add ARMDeploymentsClient.js since azure doesn't provide js sdk for it (yet), only REST API
  • change provisioner and scanner to be aware of armDeployments in launch configs

Implements: #7979

@lotas lotas requested a review from a team as a code owner September 25, 2025 12:48
@lotas lotas requested review from petemoore and matt-boris and removed request for a team September 25, 2025 12:48
@lotas lotas marked this pull request as draft September 25, 2025 12:48
This allows new ARM templates schema to be accepted
@lotas lotas force-pushed the feat/azure-arm-templates branch from bc7d8ac to 3a8eaa4 Compare September 25, 2025 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant