hashicorp / terraform-provider-consul

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

consul_config_entry file-system-certificate #416

Open const-tmp opened 2 months ago

const-tmp commented 2 months ago
resource "consul_config_entry" "fs-cert" {
  kind = "file-system-certificate"
  name = "api-gateway-cert"
  config_json = jsonencode({
    Certificate = "/local/cert.pem>"
    PrivateKey  = "/local/key.pem>"
  })
}
Plan: 1 to add, 3 to change, 0 to destroy.
consul_config_entry.fs-cert: Creating...
consul_config_entry.rmqui-service-defaults: Modifying... [id=service-defaults-rmqui]
consul_config_entry.rmqui-service-defaults: Modifications complete after 2s [id=service-defaults-rmqui]
╷
│ Error: failed to decode config entry: invalid config entry kind: file-system-certificate
│
│   with consul_config_entry.fs-cert,
│   on api-gateway.tf line 76, in resource "consul_config_entry" "fs-cert":
│   76: resource "consul_config_entry" "fs-cert" {
│
╵
bwieckow commented 1 month ago

We are also seeking this feature