Forrest logo
back to the pulumi tool

pulumi:tldr:09fef

pulumi: Configure variables (e.g. keys, regions, etc.) interactively.
$ pulumi config
try on your machine

The command "pulumi config" is used to manage configuration values for a Pulumi application. It allows you to set, get, list, and remove configuration values that your Pulumi program can access.

Here are some common subcommands and their explanations:

  • "pulumi config set": This command is used to set a configuration value. For example, "pulumi config set aws:region us-east-1" would set the value of the "aws:region" configuration setting to "us-east-1".

  • "pulumi config get": This command is used to retrieve the current value of a configuration setting. For example, "pulumi config get aws:region" would retrieve the value of the "aws:region" configuration setting.

  • "pulumi config list": This command is used to list all the current configuration settings and their values.

  • "pulumi config rm": This command is used to remove a configuration setting. For example, "pulumi config rm aws:region" would remove the "aws:region" configuration setting.

Configuration values can be used by your Pulumi program to control its behavior or provide information necessary for deployment. These values are stored securely and can be different for each deployment of your Pulumi program, allowing for easy configuration management.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the pulumi tool