mirror of
https://github.com/imjasonh/terraform-playground
synced 2026-07-23 00:21:15 +00:00
use Chainguard image, update README
Signed-off-by: Jason Hall <jason@chainguard.dev>
This commit is contained in:
parent
b2f2f36804
commit
572d65f3f7
2 changed files with 36 additions and 6 deletions
|
|
@ -37,7 +37,7 @@ resource "google_storage_bucket_iam_binding" "binding" {
|
|||
resource "ko_build" "build" {
|
||||
importpath = "./"
|
||||
working_dir = path.module
|
||||
base_image = "litestream/litestream"
|
||||
base_image = "cgr.dev/chainguard/litestream"
|
||||
}
|
||||
|
||||
resource "google_cloud_run_v2_service" "service" {
|
||||
|
|
@ -50,9 +50,7 @@ resource "google_cloud_run_v2_service" "service" {
|
|||
|
||||
|
||||
template {
|
||||
scaling {
|
||||
max_instance_count = 1
|
||||
}
|
||||
scaling { max_instance_count = 1 }
|
||||
max_instance_request_concurrency = 1000
|
||||
|
||||
containers {
|
||||
|
|
@ -68,7 +66,7 @@ resource "google_cloud_run_v2_service" "service" {
|
|||
}
|
||||
|
||||
containers {
|
||||
image = "litestream/litestream"
|
||||
image = "chainguard/litestream"
|
||||
args = ["replicate", "/data/db.sqlite", "gcs://${google_storage_bucket.bucket.name}/litestream"]
|
||||
volume_mounts {
|
||||
name = "data"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue