Start a module for creating a workload identity service account.

master
Tom Alexander 3 years ago
parent bae77832d2
commit 06b787ef97
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

@ -105,6 +105,13 @@ module "cloudsql" {
]
}
# Create a workload identity service account for IAM authentication to
# cloudsql
module "cloudsql_test_sa" {
source = "../modules/workload_identity_account"
project = var.project
}
#################### Redis ################################
module "redis" {
@ -127,9 +134,3 @@ output "redis_port" {
description = "Port for redis database."
value = module.redis.redis_port
}

@ -0,0 +1,8 @@
# Requires a google_iam_workload_identity_pool to exist, but it is not
# referenced in this module.
variable "project" {
description = "Project ID."
type = string
}
Loading…
Cancel
Save