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-linux-os-sku-with-plan-calculator"
vm_os_simple = "CISUbuntu20.04L1" // will give you CIS Ubuntu20.04l1 sku properties, to be used in linux-vm module
}
For a full example build, check out the Libre DevOps Website
No requirements.
Name | Version |
---|---|
azurerm | n/a |
No modules.
Name | Type |
---|---|
azurerm_storage_account.sa | resource |
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 |
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 |