microsoft / commercial-marketplace-offer-deploy

Deployment Manager for the Azure Marketplace
Other
21 stars 13 forks source link

Auto delete MODM from Azure #490

Closed bobjac closed 1 year ago

bobjac commented 1 year ago

Requirement

MODM resource such as the virtual machine, vnet, nic, etc, are only installed to the managed resource group in order to support the modm installer. These resources be tagged to serve a cleanup process that is either triggered by the user or on a timer after the install.

Success Criteria

Justification

We should not be adding orphaned resources to to customer's tenant. Resources that we create for our purposes need to be identified so we can filter or remove.

Implementation

The most straightforward way to do it is by added the modm tag directly to the resources in the mainTemplate.json. This should be done for all of out test scenarios as well as the mainTemplate.json that will be used by the cli.

### Tasks
- [ ] https://github.com/microsoft/commercial-marketplace-offer-deploy/issues/518
kevinhillinger commented 1 year ago

Done. Closing