Skip to main content
  1. Docs
  2. Secrets & Configuration
  3. Concepts
  4. Built-in Functions
  5. fn::final

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

    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.