fix: Improve error message for actions expanded with count/for_each in action_trigger - #37935
fix: Improve error message for actions expanded with count/for_each in action_trigger#37935devhindo wants to merge 3 commits into
count/for_each in action_trigger#37935Conversation
|
Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement Learn more about why HashiCorp requires a CLA and what the CLA includes Have you signed the CLA already but the status is still pending? Recheck it. |
Signed-off-by: devhindo <lildevhind@gmail.com>
Signed-off-by: devhindo <lildevhind@gmail.com>
Signed-off-by: devhindo <lildevhind@gmail.com>
mildwonkey
left a comment
There was a problem hiding this comment.
Thank you for working on this @devhindo !
I only want to change the error message to this if we have reason to think that is the problem - for example, if the trigger references an action when it should have been an action instance. But this will also get returned if for e.g. the action isn't in the config at all, or there's a typo on the action name. If we can't make a reasonable guess, we should return the original (generic) error.
fixes: #37927
This PR improves the error message displayed when an action referenced in an
action_triggerblock cannot be resolved to a specific instance.Target Release
1.15.x
Rollback Plan
Changes to Security Controls
Are there any changes to security controls (access controls, encryption, logging) in this pull request? If so, explain.
CHANGELOG entry