hashicorp / terraform-provider-consul

Terraform Consul provider
https://www.terraform.io/docs/providers/consul/
Mozilla Public License 2.0
124 stars 113 forks source link

fix documentation in Consul_certificate_authority examples #406

Closed sosasanti closed 3 months ago

sosasanti commented 3 months ago

I corrected a documentation error in the consul_certificate_authority resource. The example now correctly uses the jsonencode function instead of jsondecode.

Updated Documentation:

#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"
  })
}
hashicorp-cla-app[bot] commented 3 months ago

CLA assistant check
All committers have signed the CLA.

hashicorp-cla-app[bot] commented 3 months ago

CLA assistant check

Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement

Learn more about why HashiCorp requires a CLA and what the CLA includes

Have you signed the CLA already but the status is still pending? Recheck it.