Skip to content

Reference variables inside custom error messages #579

Open
@atheiman

Description

@atheiman

Need the ability to reference variables in custom error messages. It makes the guard code cleaner when you can check for a value, then raise a custom error for that value missing. Im trying to use this for Config rule evaluation annotations, and the Config docs show this is not supported.

Note: Currently, Guard doesn't support referencing variables inside custom error messages.

https://docs.aws.amazon.com/cfn-guard/latest/ug/variables.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions