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