mirror of https://github.com/pulumi/pulumi.git
![]() Implement a first version of `can` in PCL (#18522) [Terraform's `can` function](https://developer.hashicorp.com/terraform/language/functions/can)) accepts a single argument of variable types and returns true if it runs successfully or false otherwise, much like `try` but with onl y one argument. This change Adds the following: * PCL gets a new `can` function which takes a single argument which is an expression to be tried. * Code gen for python and nodejs to support can function implementation and calling it. * a conformance test for `can` |
||
---|---|---|
.. | ||
main.pp |