Skip to content

Commit 9707763

Browse files
authored
Merge pull request #6 from data-platform-hq/fix/tags_for_vmss
fix: tags for vmss
2 parents a38d41a + d9dfa56 commit 9707763

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

main.tf

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ module "vmss" {
1010
scale_set_name = var.vm_scale_set_name
1111
location = var.location
1212
resource_group = var.resource_group
13+
tags = var.tags
1314
admin_ssh_key = { public_key = tls_private_key.this.public_key_openssh }
1415
subnet_id = var.subnet_id
1516
public_ip_prefix_enabled = var.ado_vmss_public_ip_prefix_enabled

variables.tf

+6
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ variable "subnet_id" {
1818
type = string
1919
}
2020

21+
variable "tags" {
22+
type = map(any)
23+
description = "Resource tags"
24+
default = {}
25+
}
26+
2127
variable "ado_project_name" {
2228
description = "Target Azure DevOps Project name where VMSS agent pool would be provisioned"
2329
type = string

0 commit comments

Comments
 (0)