Skip to content

Commit e59c014

Browse files
authored
make ephemeral an option (#277)
1 parent 99aef44 commit e59c014

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

deployment/live/gcp/static-ct/logs/ci/terragrunt.hcl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ locals {
88
base_name = "${local.env}-conformance"
99
origin_suffix = ".ct.transparency.dev"
1010
server_docker_image = "${include.root.locals.location}-docker.pkg.dev/${include.root.locals.project_id}/docker-${local.env}/conformance-gcp:latest"
11+
ephemeral = true
1112
}
1213

1314
include "root" {

deployment/modules/gcp/tesseract/conformance/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module "storage" {
88
project_id = var.project_id
99
base_name = var.base_name
1010
location = var.location
11-
ephemeral = true
11+
ephemeral = var.ephemeral
1212
}
1313

1414
module "secretmanager" {

deployment/modules/gcp/tesseract/conformance/variables.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,9 @@ variable "server_docker_image" {
3232
description = "The full image URL (path & tag) for the Docker image to deploy in Cloud Run"
3333
type = string
3434
}
35+
36+
variable "ephemeral" {
37+
description = "Set to true if this is a throwaway/temporary log instance. Will set attributes on created resources to allow them to be disabled/deleted more easily."
38+
default = false
39+
type = bool
40+
}

0 commit comments

Comments
 (0)