avm-utl-sku-finder
Azure/avm-utl-sku-finder/azapi
AVM Terraform utility module for finding valid sku's
terraform-azapi-avm-utl-sku-finder This AVM utility module finds sku's that match a set of filter conditions. It is intended to assist with situations where your subscription is restricted for specific sku's and you need to find an available sku that meets your target technical criteria. The module returns a randomly selected sku and the full list of sku's that it was selected from. It has an initial default filter that avoids sku's with any restrictions defined or without any capabilities returned by the sku API's. Because available sku's can vary from day to day for some subscriptions, the module also contains the ability to cache the initial output either as a local file or a storage account blob. This is to retain idempotency for other Terraform modules or resources that consume sku's
| Name | Type | Description | Default |
|---|---|---|---|
| location | string | Azure region where the target skus will be deployed. This is required as the ini | required |
| local_cache_prefix | string | If caching locally, this prefix will be used to help identify the cache file in | "local" |
| resource_type | string | The resource type you want a sku for. Currently only supports VM's, but additio | "vm" |
| vm_filters | object({ accelerated_netwo | This object is used to filter the available skus based on the criteria you provi | {} |
| cache_results | bool | Do you want to write the single random sku output to a cache file? This is to en | false |
| cache_storage_details | object({ storage_account_r | This object is used to define the storage account and container where the cache | null |
| enable_telemetry | bool | This variable controls whether or not telemetry is enabled for the module. For m | true |
resource_id — The resource id of the resource. This is actually a repeat of the sku output to make the linter happsku — The randomly selected sku returned from the filtered list of skus.sku_list — The list of skus returned from the filtered list of skus.