Heavily inspired form Terraform Azure Compute Module
Designed to be used with Libre DevOps VM modules, and will simplify the way of getting SKUs for your VM images without having to look it up.
Simple pass the OS you want to the variable, and it will output the values of the publisher, offer and SKU. All versions are latest
module "os_calculator" {
source = "github.com/libre-devops/terraform-azurerm-windows-os-sku-with-plan-calculator"
vm_os_simple = "CISWindowsServer2019L2" // will give you CIS WindowsServer2019 L2 sku properties, to be used in windows-vm module
}
For a full example build, check out the Libre DevOps Website
No requirements.
No providers.
No modules.
No resources.
Name | Description | Type | Default | Required |
---|---|---|---|---|
standard_os | n/a | map |
{ |
no |
vm_os_simple | If using this module, pass one of the keys as the variable to get that image properties | string |
"" |
no |
Name | Description |
---|---|
calculated_value_os_offer | Gets the offer value |
calculated_value_os_publisher | Gets the offer value |
calculated_value_os_sku | Gets the OS value |