Try and fix container labels again

This commit is contained in:
Jeroen Vijgen
2025-08-14 14:07:04 +03:00
committed by GitHub
parent 36a2b6e2a7
commit 5b556469c9
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ resource "docker_container" "service_container" {
dynamic "labels" {
for_each = var.labels
content {
label = labels.label
label = labels.key
value = labels.value
}
}
@@ -80,7 +80,7 @@ variable "pgid" {
variable "labels" {
description = "Container labels"
type = list(object({
label = string
key = string
value = string
}))
default = []
@@ -84,8 +84,8 @@ module "coder" {
userns_mode = "keep-id:uid=1000,gid=1000"
labels = [
{
label = "run.oci.keep_original_groups"
value = "1"
key = "run.oci.keep_original_groups"
value = "1"
}
]
security_opts = [