Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reference variables inside custom error messages #579

Open
atheiman opened this issue Oct 22, 2024 · 1 comment
Open

Reference variables inside custom error messages #579

atheiman opened this issue Oct 22, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@atheiman
Copy link

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

@atheiman atheiman added the enhancement New feature or request label Oct 22, 2024
@atheiman atheiman changed the title [Enhancement] Reference variables inside custom error messages Oct 22, 2024
@joshfried-aws
Copy link
Contributor

Hi @atheiman thanks for the enhancement idea.

This is definitely something we will consider moving forward. We will update this ticket on this matter as necessary.

Thanks,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants