Skip to content

Commit 151c4de

Browse files
committed
Support conformance env lifecycle in GCP CI Cloud Build
1 parent 3a3dcfa commit 151c4de

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

deployment/modules/gcp/conformance/main.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,15 @@ module "cloudrun" {
3232
base_name = var.base_name
3333
location = var.location
3434
server_docker_image = var.server_docker_image
35+
skip_iam = var.skip_iam
3536
bucket = module.storage.log_bucket.id
3637
log_spanner_instance = module.storage.log_spanner_instance.name
3738
log_spanner_db = module.storage.log_spanner_db.name
3839
dedup_spanner_db = module.storage.dedup_spanner_db.name
3940
signer_public_key_secret_name = module.secretmanager.ecdsa_p256_public_key_id
4041
signer_private_key_secret_name = module.secretmanager.ecdsa_p256_private_key_id
4142

43+
4244
depends_on = [
4345
module.secretmanager,
4446
module.storage,

deployment/modules/gcp/conformance/variables.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,8 @@ variable "server_docker_image" {
2727
description = "The full image URL (path & tag) for the Docker image to deploy in Cloud Run"
2828
type = string
2929
}
30+
31+
variable "skip_iam" {
32+
description = "Skip for IAM externally managed GCP projects"
33+
type = bool
34+
}

0 commit comments

Comments
 (0)