environments
The environments
built-in property provides access to other environments within the same organization. This allows the selective use of values from other environments without explicitly importing those environments.
Properties
Property | Type | Description |
---|---|---|
project | ESCProject | The project that contains the environment to access |
ESCProject
Property | Type | Description |
---|---|---|
environment | any | The environment to access |
Example
values:
other: Hello, ${environments.app.dev.name}!
Evaluated result
{
"greeting": "Hello, My App!"
}
Thank you for your feedback!
If you have a question about how to use Pulumi, reach out in Community Slack.
Open an issue on GitHub to report a problem or suggest an improvement.