Pulumi config is like environment-specific settings files — each stack (dev/prod) can have different values for the same config keys.
Import pulumi_azure_native for typed Azure resources. pulumi.Config() reads stack-specific config (set via pulumi config set). config.require() raises an error if the key is missing.
$ pulumi config set environment prod $ pulumi config set location eastus # View config: KEY VALUE environment prod location eastus
Pulumi config is like environment-specific settings files — each stack (dev/prod) can have different values for the same config keys.
Import pulumi_azure_native for typed Azure resources. pulumi.Config() reads stack-specific config (set via pulumi config set). config.require() raises an error if the key is missing.
$ pulumi config set environment prod $ pulumi config set location eastus # View config: KEY VALUE environment prod location eastus
Sign in to cast your vote
Sign in to share your feedback and join the discussion.