<!-- Thank you for helping to improve Crossplane! Please be sure to search for open issues before raising a new one. We use issues for bug reports and feature requests. Please find us at https://slack.crossplane.io for questions, support, and discussion. --> ### What problem are you facing? <!-- Please tell us a little about your use case - it's okay if it's hypothetical! Leading with this context helps frame the feature request so we can ensure we implement it sensibly. ---> Currently, we can access composition environment variables like: ``` env: {{ (index .context "apiextensions.crossplane.io/environment").key1 }} ``` However, this is too verbose and can be simplified with a helper function. ### How could this Function help solve your problem? <!-- Let us know how you think this Function could help with your use case. --> To make it easier to access composition environment variables, we can have a helper function called `getCompositionEnvVar`. The interface might be like: ``` env: {{ getCompositionEnvVar . "key1" }} ```