Skip to content

L-u-k-e-GIT/azure_vm_applications

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

# module_vm_applications
module to install vm appllications on azure with terraform


This Terraform Module allow to install vm applications (preview on azure) on a virtual machine.

Use AzApi provider as this functionality is in previee

The functionalaity is described here:
https://docs.microsoft.com/en-us/azure/virtual-machines/vm-applications-how-to?tabs=portal

and here you can find directions to create the package.
https://docs.microsoft.com/en-us/azure/virtual-machines/vm-applications


Requirements for this module:
Follow MS istruction to create:

 

Resource Description
Azure compute gallery A gallery is a repository for managing and sharing application packages. Users can share the gallery resource and all the child resources will be shared automatically. The gallery name must be unique per subscription. For example, you may have one gallery to store all your OS images and another gallery to store all your VM applications.
VM application The definition of your VM application. It's a logical resource that stores the common metadata for all the versions under it. For example, you may have an application definition for Apache Tomcat and have multiple versions within it.
VM Application version The deployable resource. You can globally replicate your VM application versions to target regions closer to your VM infrastructure. The VM Application Version must be replicated to a region before it may be deployed on a VM in that region.

 

To use this module you just need a vm...

===================================

example of module calling:

module "vm_applications_sccm" {
#source = "./modules/vm_applications"
  MD_RG_NAME                  = azurerm_resource_group.rg.id    
  MD_VIRTUAL_MACHINE_NAME     = each.value.name
  MD_VM_APP_ID               = var.VM_APP_ID
  providers = {
     azapi = azapi
  }
}

Releases

No releases published

Packages

No packages published

Languages