Skip to content

Commit 10ca382

Browse files
authored
Merge pull request #13 from data-platform-hq/support_identity_block
fix: support identity block
2 parents e5795a0 + 3518f32 commit 10ca382

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ module "ado_vmss_agent_pool" {
4343

4444
| Name | Source | Version |
4545
|------|--------|---------|
46-
| <a name="module_vmss"></a> [vmss](#module\_vmss) | data-platform-hq/vmss/azurerm | 1.2.3 |
46+
| <a name="module_vmss"></a> [vmss](#module\_vmss) | data-platform-hq/vmss/azurerm | 1.2.5 |
4747

4848
## Resources
4949

@@ -71,6 +71,7 @@ module "ado_vmss_agent_pool" {
7171
| <a name="input_drc_enabled"></a> [drc\_enabled](#input\_drc\_enabled) | Enable data collection rule. var.analytics\_workspace\_id must be provided | `bool` | `false` | no |
7272
| <a name="input_drc_facility_names"></a> [drc\_facility\_names](#input\_drc\_facility\_names) | List of Facility names | `list(string)` | <pre>[<br> "daemon",<br> "syslog",<br> "user"<br>]</pre> | no |
7373
| <a name="input_drc_log_levels"></a> [drc\_log\_levels](#input\_drc\_log\_levels) | List of Log levels | `list(string)` | <pre>[<br> "Debug"<br>]</pre> | no |
74+
| <a name="input_identity_ids"></a> [identity\_ids](#input\_identity\_ids) | List of user assigned identity IDs | `list(string)` | `null` | no |
7475
| <a name="input_location"></a> [location](#input\_location) | The Azure Region in which all resources in this example should be created. | `string` | n/a | yes |
7576
| <a name="input_resource_group"></a> [resource\_group](#input\_resource\_group) | The name of the resource group. | `string` | n/a | yes |
7677
| <a name="input_scale_set_configuration"></a> [scale\_set\_configuration](#input\_scale\_set\_configuration) | Configuration options for linux virtual machine scale set | <pre>object({<br> sku = optional(string)<br> instances = optional(string)<br> admin_username = optional(string)<br> admin_password = optional(string)<br> disable_password_authentication = optional(bool)<br> priority = optional(string)<br> overprovision = optional(bool)<br> single_placement_group = optional(bool)<br> upgrade_mode = optional(string)<br> enable_ip_forwarding_interface = optional(bool)<br> domain_name_label = optional(string)<br> lb_backend_address_pool_ids = optional(list(string))<br> })</pre> | <pre>{<br> "instances": "0"<br>}</pre> | no |

main.tf

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ resource "tls_private_key" "this" {
55

66
module "vmss" {
77
source = "data-platform-hq/vmss/azurerm"
8-
version = "1.2.3"
8+
version = "1.2.5"
99

1010
scale_set_name = var.vm_scale_set_name
1111
location = var.location
@@ -19,6 +19,7 @@ module "vmss" {
1919
facility_names = var.drc_facility_names
2020
log_levels = var.drc_log_levels
2121
datasource_name = var.drc_datasource_name
22+
identity_ids = var.identity_ids
2223
}
2324

2425
data "azuredevops_project" "this" {

variables.tf

+6
Original file line numberDiff line numberDiff line change
@@ -106,3 +106,9 @@ variable "drc_log_levels" {
106106
description = "List of Log levels"
107107
default = ["Debug"]
108108
}
109+
110+
variable "identity_ids" {
111+
type = list(string)
112+
description = "List of user assigned identity IDs"
113+
default = null
114+
}

0 commit comments

Comments
 (0)