Closed optiz0r closed 3 months ago
A trivial documentation error.
Documentation should use jsonencode function:
# Using the built-in CA with specific TTL resource "consul_certificate_authority" "connect" { connect_provider = "consul" config_json = jsonencode({ LeafCertTTL = "24h" RotationPeriod = "2160h" IntermediateCertTTL = "8760h" }) }
Documentation uses jsondecode
# Using the built-in CA with specific TTL resource "consul_certificate_authority" "connect" { connect_provider = "consul" config_json = jsondecode({ LeafCertTTL = "24h" RotationPeriod = "2160h" IntermediateCertTTL = "8760h" }) }
A trivial documentation error.
Affected Resource(s)
Expected Behavior
Documentation should use jsonencode function:
Actual Behavior
Documentation uses jsondecode