Start a module for creating a workload identity service account.
This commit is contained in:
parent
bae77832d2
commit
06b787ef97
@ -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 ################################
|
#################### Redis ################################
|
||||||
|
|
||||||
module "redis" {
|
module "redis" {
|
||||||
@ -127,9 +134,3 @@ output "redis_port" {
|
|||||||
description = "Port for redis database."
|
description = "Port for redis database."
|
||||||
value = module.redis.redis_port
|
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…
x
Reference in New Issue
Block a user