pulumi / pulumi-yaml

YAML language provider for Pulumi
Apache License 2.0
39 stars 12 forks source link

Allow `protect` resource option to be set dynamically. #507

Closed Zaid-Ajaj closed 1 year ago

Zaid-Ajaj commented 1 year ago

Fixes #495

Changes the definition of Protect from the concrete *BooleanExpr to Expr which allows the value to be defined via a config or local variable rather than a literal boolean value.

During evaluation we check that it is not an output