feat(tags): Proxmox VM metadata convention (managed-by=terraform)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
0b59107b33
commit
9584cc2c76
2 changed files with 2 additions and 2 deletions
|
|
@ -35,7 +35,7 @@ module "vms" {
|
||||||
ssh_public_keys = var.ssh_public_keys
|
ssh_public_keys = var.ssh_public_keys
|
||||||
cores = each.value.cores
|
cores = each.value.cores
|
||||||
memory_mb = each.value.memory_mb
|
memory_mb = each.value.memory_mb
|
||||||
tags = ["production", each.value.group]
|
tags = ["production", each.value.group, "managed-by=terraform"]
|
||||||
}
|
}
|
||||||
|
|
||||||
# Internal DNS records are NOT managed here. Terraform owns VM existence only;
|
# Internal DNS records are NOT managed here. Terraform owns VM existence only;
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@ module "vms" {
|
||||||
ssh_public_keys = var.ssh_public_keys
|
ssh_public_keys = var.ssh_public_keys
|
||||||
cores = each.value.cores
|
cores = each.value.cores
|
||||||
memory_mb = each.value.memory_mb
|
memory_mb = each.value.memory_mb
|
||||||
tags = ["staging", each.value.group]
|
tags = ["staging", each.value.group, "managed-by=terraform"]
|
||||||
}
|
}
|
||||||
|
|
||||||
# Internal DNS records are NOT managed here. Terraform owns VM existence only;
|
# Internal DNS records are NOT managed here. Terraform owns VM existence only;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue