forked from Azure-Terraformer/terraform-azurerm-compute-skus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
64 lines (60 loc) · 1.4 KB
/
outputs.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
output "disks" {
value = {
names = {
all = [for sku in local.all_disk_skus : sku.name]
matching = []
}
details = {
all = local.all_disk_skus
matching = []
}
}
description = <<DESCRIPTION
A complex object containing two lists of disk SKU names:
- 'all' for all available disk SKUs in the specified Azure region.
- 'matches' for disk SKUs that match the specified criteria.
Sample structure:
```
{
names = {
all = ["Standard_LRS", "StandardSSD_LRS", "Premium_LRS", ...]
matches = ["StandardSSD_LRS", "Premium_LRS", ...]
}
details = {
all = [ ... ]
matches = [ ... ]
}
}
```
DESCRIPTION
}
output "vms" {
value = {
names = {
all = [for sku in local.all_vm_skus : sku.name]
matching = [for sku in local.matching_vm_skus : sku.name]
}
details = {
all = local.all_vm_skus
matching = local.matching_vm_skus
}
}
description = <<DESCRIPTION
A complex object containing two lists of VM SKU names:
- 'all' for all available VM SKUs in the specified Azure region.
- 'matches' for VM SKUs that match the specified minimum and maximum vCPU and memory requirements.
Sample structure:
```
{
names = {
all = ["Standard_B1ls", "Standard_B1ms", "Standard_D2s_v3", ...]
matches = ["Standard_D2s_v3", "Standard_E2s_v3", ...]
}
details = {
all = [ ... ]
matches = [ ... ]
}
}
```
DESCRIPTION
}