You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)
Issue details
Configuration entries in Pulumi.stack.yaml require you to namespace all configurations. This is a challenge if you have to deploy the same application with a different project name, see #8537, as you need to modify the namespace for each configuration. you also end up duplicating the namespace text for many configurations, which can be repetitive and error prone.
Currently when you set configuration on the CLI or read configurations from the Config API you don't need to set the namespace in the configuration as it uses the project name defined in Pulumi.yaml file.
CLI:
pulumi config set key-with-no-namespace value
API:
let config = new pulumi.Config(); // namespace defaults to project name if its not set
can we also support inferring the namespace from the Pulumi.yaml project name if the namespace is not provided in the configuration key? so the configs in Pulumi.stack.yaml would look like this:
config:
replicas: 1
instead of:
config:
project-name:replicas: 1
Affected area/feature
pulumi CLI
pulumi Config API
The text was updated successfully, but these errors were encountered:
Hello!
Issue details
Configuration entries in Pulumi.stack.yaml require you to namespace all configurations. This is a challenge if you have to deploy the same application with a different project name, see #8537, as you need to modify the namespace for each configuration. you also end up duplicating the namespace text for many configurations, which can be repetitive and error prone.
Currently when you set configuration on the CLI or read configurations from the Config API you don't need to set the namespace in the configuration as it uses the project name defined in Pulumi.yaml file.
CLI:
pulumi config set key-with-no-namespace value
API:
let config = new pulumi.Config(); // namespace defaults to project name if its not set
can we also support inferring the namespace from the Pulumi.yaml project name if the namespace is not provided in the configuration key? so the configs in Pulumi.stack.yaml would look like this:
instead of:
Affected area/feature
pulumi CLI
pulumi Config API
The text was updated successfully, but these errors were encountered: