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-rancher2 repo; however, if that doesn’t turn up anything, please consult the source terraform-providers/terraform-provider-rancher2 repo.

APIs

APIs

let accessKey

let accessKey: string | undefined =  __config.get("accessKey") || utilities.getEnv("RANCHER_ACCESS_KEY");

API Key used to authenticate with the rancher server

let apiUrl

let apiUrl: string | undefined =  __config.get("apiUrl") || utilities.getEnv("RANCHER_URL");

The URL to the rancher API

let bootstrap

let bootstrap: boolean | undefined =  __config.getObject<boolean>("bootstrap") || (utilities.getEnvBoolean("RANCHER_BOOTSTRAP") || false);

Bootstrap rancher server

let caCerts

let caCerts: string | undefined =  __config.get("caCerts") || utilities.getEnv("RANCHER_CA_CERTS");

CA certificates used to sign rancher server tls certificates. Mandatory if self signed tls and insecure option false

let insecure

let insecure: boolean | undefined =  __config.getObject<boolean>("insecure") || (utilities.getEnvBoolean("RANCHER_INSECURE") || false);

Allow insecure connections to Rancher. Mandatory if self signed tls and not ca_certs provided

let retries

let retries: number | undefined =  __config.getObject<number>("retries");

Rancher connection retries

let secretKey

let secretKey: string | undefined =  __config.get("secretKey") || utilities.getEnv("RANCHER_SECRET_KEY");

API secret used to authenticate with the rancher server

let tokenKey

let tokenKey: string | undefined =  __config.get("tokenKey") || utilities.getEnv("RANCHER_TOKEN_KEY");

API token used to authenticate with the rancher server