Skip to content

fn::final ​

The fn::final built-in function marks a value as final, preventing child environments from overriding it. If a child environment attempts to override a final value, the value is not overridden and a validation warning is raised.

Declaration ​

yaml
fn::final: value

Parameters ​

PropertyTypeDescription
valueanyThe value to mark as final.

Returns ​

The original value, marked as final so that it cannot be overridden by child environments.

Content from the official Pulumi documentation (github.com/pulumi/docs).