From 7976af444e76e8475f27997ae458b946952f602c Mon Sep 17 00:00:00 2001 From: Mikhail Shilkov Date: Thu, 22 Aug 2024 08:12:04 +0200 Subject: [PATCH] Add missing CLI environment variables (#12567) --- content/docs/cli/environment-variables.md | 221 ++++++++++++++++++++++ 1 file changed, 221 insertions(+) diff --git a/content/docs/cli/environment-variables.md b/content/docs/cli/environment-variables.md index 8fbdda871b81..55cc87f96893 100644 --- a/content/docs/cli/environment-variables.md +++ b/content/docs/cli/environment-variables.md @@ -12,6 +12,17 @@ aliases: ---
+
+ + PULUMI_AI_SERVICE_ENDPOINT + +
+
+

+ Specifies the endpoint for Pulumi AI service. +

+
PULUMI_AI_SERVICE_ENDPOINT="https://ai.pulumi.com"
+
PULUMI_AUTOMATION_API_SKIP_VERSION_CHECK @@ -98,6 +109,39 @@ aliases:

PULUMI_CONSOLE_DOMAIN="yourhost.domain.com"
+
+ + PULUMI_CONTINUE_ON_ERROR + +
+
+

+ Continues to perform the update/destroy operation despite the occurrence of errors. +

+
PULUMI_CONTINUE_ON_ERROR=true
+
+
+ + PULUMI_DEBUG_COMMANDS + +
+
+

+ List commands helpful for debugging pulumi itself. +

+
PULUMI_DEBUG_COMMANDS=true
+
+
+ + PULUMI_DEBUG_GRPC + +
+
+

+ Enables debug tracing of Pulumi gRPC internals. The variable should be set to the log file to which gRPC debug traces will be sent. +

+
PULUMI_DEBUG_GRPC="/path/to/grpc-debug.log"
+
PULUMI_DEBUG_PROMISE_LEAKS @@ -111,6 +155,127 @@ aliases:

PULUMI_DEBUG_PROMISE_LEAKS=true
+
+ + PULUMI_DEV + +
+
+

+ Enable features for hacking on pulumi itself. +

+
PULUMI_DEV=true
+
+
+ + PULUMI_DISABLE_AUTOMATIC_PLUGIN_ACQUISITION + +
+
+

+ Disables the automatic installation of missing plugins. +

+
PULUMI_DISABLE_AUTOMATIC_PLUGIN_ACQUISITION=true
+
+
+ + PULUMI_DISABLE_PROVIDER_PREVIEW + +
+
+

+ Disables provider preview and enabled previous more concervative preview behavior. +

+
PULUMI_DISABLE_PROVIDER_PREVIEW=true
+
+
+ + PULUMI_DISABLE_RESOURCE_REFERENCES + +
+
+

+ Disables resource references in Invoke gRPC calls. +

+
PULUMI_DISABLE_RESOURCE_REFERENCES=true
+
+
+ + PULUMI_DISABLE_OUTPUT_VALUES + +
+
+

+ Disables output values in gRPC calls. +

+
PULUMI_DISABLE_OUTPUT_VALUES=true
+
+
+ + PULUMI_DISABLE_VALIDATION + +
+
+

+ Disables format validation of system inputs. Currently, this disables validation of stack names. +

+
PULUMI_DISABLE_VALIDATION=true
+
+
+ + PULUMI_DIY_BACKEND_DISABLE_CHECKPOINT_BACKUPS + +
+
+

+ If set, checkpoint backups will not be written to the backup folder. +

+
PULUMI_DIY_BACKEND_DISABLE_CHECKPOINT_BACKUPS=true
+
+
+ + PULUMI_DIY_BACKEND_GZIP + +
+
+

+ Enables gzip compression when writing state files. +

+
PULUMI_DIY_BACKEND_GZIP=true
+
+
+ + PULUMI_DIY_BACKEND_LEGACY_LAYOUT + +
+
+

+ Uses the legacy layout for new buckets, which currently default to project-scoped stacks. +

+
PULUMI_DIY_BACKEND_LEGACY_LAYOUT=true
+
+
+ + PULUMI_DIY_BACKEND_NO_LEGACY_WARNING + +
+
+

+ Disables the warning about legacy stack files mixed with project-scoped stack files. +

+
PULUMI_DIY_BACKEND_NO_LEGACY_WARNING=true
+
+
+ + PULUMI_DIY_BACKEND_RETAIN_CHECKPOINTS + +
+
+

+ If set, every checkpoint will be duplicated to a timestamped file. +

+
PULUMI_DIY_BACKEND_RETAIN_CHECKPOINTS=true
+
PULUMI_ENABLE_LEGACY_APPLY @@ -152,6 +317,40 @@ aliases:

PULUMI_ENABLE_LEGACY_PLUGIN_SEARCH=true
+
+ + PULUMI_ENABLE_LEGACY_REFRESH_DIFF + +
+
+

+ Use legacy refresh diff behaviour, in which only output changes are + reported and changes against the desired state are not calculated. +

+
PULUMI_ENABLE_LEGACY_REFRESH_DIFF=true
+
+
+ + PULUMI_ERROR_ON_DEPENDENCY_CYCLES + +
+
+

+ Enables error reporting when dependency cycles are detected. +

+
PULUMI_ERROR_ON_DEPENDENCY_CYCLES=true
+
+
+ + PULUMI_ERROR_OUTPUT_STRING + +
+
+

+ Throws an error instead of returning a string when attempting to convert an Output to a string. +

+
PULUMI_ERROR_OUTPUT_STRING=true
+
PULUMI_EXPERIMENTAL @@ -175,6 +374,28 @@ aliases:

PULUMI_HOME="/path/to/artifacts"
+
+ + PULUMI_IGNORE_AMBIENT_PLUGINS + +
+
+

+ Disables discovering additional plugins by examining $PATH. +

+
PULUMI_IGNORE_AMBIENT_PLUGINS=true
+
+
+ + PULUMI_PLUGIN_DOWNLOAD_URL_OVERRIDES + +
+
+

+ Specifies overrides for Plugin Download URLs. The expected format is `regexp=URL`, and multiple pairs can be specified separated by commas. +

+
PULUMI_PLUGIN_DOWNLOAD_URL_OVERRIDES="^https://foo=https://bar,^github://=https://buzz"
+
PULUMI_PREFER_YARN