1
0
Fork 0
mirror of https://github.com/imjasonh/terraform-playground synced 2026-07-06 23:12:22 +00:00
Signed-off-by: Jason Hall <jason@chainguard.dev>
This commit is contained in:
Jason Hall 2025-11-30 14:52:44 -05:00
parent 02d119cd7a
commit 4e047293ed
3 changed files with 4 additions and 2 deletions

View file

@ -36,4 +36,6 @@ module "container_vm" {
}
}
}
// Next, create VM instances from this template, route traffic to them via GCLB, etc.
```

View file

@ -29,8 +29,7 @@ write_files:
ExecStartPre=-/usr/bin/docker rm ${name}
# Configure docker credential helper for Artifact Registry
# TODO(jason): Set this for each requested registry region.
ExecStartPre=/usr/bin/docker-credential-gcr configure-docker --registries=us-east4-docker.pkg.dev
ExecStartPre=/usr/bin/docker-credential-gcr configure-docker --registries=${region}-docker.pkg.dev
# Pull the image before starting.
ExecStartPre=/usr/bin/docker pull ${container.image}

View file

@ -10,6 +10,7 @@ locals {
containers = var.containers,
enable_logging = var.enable_logging,
project_id = var.project_id,
region = var.region,
})
}