Module config

This provider is a derived work of the Terraform Provider distributed under MPL 2.0. If you encounter a bug or missing feature, first check the pulumi/pulumi-consul repo; however, if that doesn’t turn up anything, please consult the source terraform-providers/terraform-provider-consul repo.

APIs

APIs

let address

let address: string | undefined =  __config.get("address") || (utilities.getEnv("CONSUL_ADDRESS", "CONSUL_HTTP_ADDR") || "localhost:8500");

let caFile

let caFile: string | undefined =  __config.get("caFile") || utilities.getEnv("CONSUL_CA_FILE");

let caPath

let caPath: string | undefined =  __config.get("caPath") || utilities.getEnv("CONSUL_CAPATH");

let certFile

let certFile: string | undefined =  __config.get("certFile") || utilities.getEnv("CONSUL_CERT_FILE");

let datacenter

let datacenter: string | undefined =  __config.get("datacenter");

let httpAuth

let httpAuth: string | undefined =  __config.get("httpAuth") || utilities.getEnv("CONSUL_HTTP_AUTH");

let insecureHttps

let insecureHttps: boolean | undefined =  __config.getObject<boolean>("insecureHttps");

let keyFile

let keyFile: string | undefined =  __config.get("keyFile") || utilities.getEnv("CONSUL_KEY_FILE");

let namespace

let namespace: string | undefined =  __config.get("namespace");

let scheme

let scheme: string | undefined =  __config.get("scheme") || (utilities.getEnv("CONSUL_SCHEME", "CONSUL_HTTP_SCHEME") || "http");

let token

let token: string | undefined =  __config.get("token") || utilities.getEnv("CONSUL_TOKEN", "CONSUL_HTTP_TOKEN");