rainbow icon indicating copy to clipboard operation
rainbow copied to clipboard

Ability to Validate Template

Open ajmath opened this issue 10 years ago • 2 comments

One of the features that I've found useful in my rainbow wrapper script is the ability to validate the generated template. I feel like this functionality should probably be part of rainbow core though. My plan to implement this is to add a --validate flag that would

  1. Generate JSON. If any error occurs during this phase. Write to stderr with the failure message
  2. Submit the generated JSON to AWS to validate using the boto validate_template command.

Does this seem like something that is desired? Does the approach jive with your plans for the project?

ajmath avatar Jul 16 '14 20:07 ajmath

First of all, sorry for the delayed response, I was in Tomorrowland :)

Yes, this feature seems alright. I guess you're thinking of adding a --validate parameter?

omribahumi avatar Jul 22 '14 10:07 omribahumi

+1 for this feature.

apobbati avatar Oct 30 '14 17:10 apobbati