Compare commits
1 Commits
66119e5207
...
a809e1c97f
| Author | SHA1 | Date | |
|---|---|---|---|
| a809e1c97f |
@ -263,11 +263,12 @@ module "consul_secret_backend_role" {
|
||||
|
||||
for_each = var.consul_secret_backend_role
|
||||
|
||||
name = each.value.name
|
||||
backend = each.value.backend
|
||||
ttl = each.value.ttl
|
||||
max_ttl = each.value.max_ttl
|
||||
local = each.value.local
|
||||
name = each.value.name
|
||||
backend = each.value.backend
|
||||
consul_roles = each.value.consul_roles
|
||||
ttl = each.value.ttl
|
||||
max_ttl = each.value.max_ttl
|
||||
local = each.value.local
|
||||
|
||||
depends_on = [module.consul_secret_backend, module.consul_acl_management]
|
||||
}
|
||||
@ -320,6 +321,7 @@ module "pki_mount_only" {
|
||||
path = each.key
|
||||
description = each.value.description
|
||||
max_lease_ttl_seconds = each.value.max_lease_ttl_seconds
|
||||
issuer_ref = each.value.issuer_ref
|
||||
issuing_certificates = each.value.issuing_certificates
|
||||
crl_distribution_points = each.value.crl_distribution_points
|
||||
ocsp_servers = each.value.ocsp_servers
|
||||
|
||||
@ -9,6 +9,12 @@ variable "name" {
|
||||
}
|
||||
|
||||
|
||||
variable "consul_roles" {
|
||||
description = "List of Consul roles to attach to tokens"
|
||||
type = list(string)
|
||||
default = []
|
||||
}
|
||||
|
||||
|
||||
variable "ttl" {
|
||||
description = "TTL for generated tokens"
|
||||
|
||||
@ -13,6 +13,11 @@ variable "max_lease_ttl_seconds" {
|
||||
type = number
|
||||
}
|
||||
|
||||
variable "issuer_ref" {
|
||||
description = "Reference to the PKI issuer (default, or issuer ID/name)"
|
||||
type = string
|
||||
default = "default"
|
||||
}
|
||||
|
||||
variable "issuing_certificates" {
|
||||
description = "List of URLs for issuing certificates"
|
||||
|
||||
@ -203,6 +203,7 @@ variable "pki_mount_only" {
|
||||
type = map(object({
|
||||
description = optional(string)
|
||||
max_lease_ttl_seconds = optional(number, 315360000)
|
||||
issuer_ref = optional(string, "default")
|
||||
issuing_certificates = optional(list(string), [])
|
||||
crl_distribution_points = optional(list(string), [])
|
||||
ocsp_servers = optional(list(string), [])
|
||||
|
||||
Loading…
Reference in New Issue
Block a user