Skip to content

Instantly share code, notes, and snippets.

@waltervargas
Created June 28, 2019 11:12
Show Gist options
  • Save waltervargas/d838755d3cfdb3ae492362911c1f1ef8 to your computer and use it in GitHub Desktop.
Save waltervargas/d838755d3cfdb3ae492362911c1f1ef8 to your computer and use it in GitHub Desktop.
Produce CFN Parameters File from Template with JQ
cat template.json | jq '.Parameters | [ to_entries[] | {ParameterKey: .key, ParameterValue: ""} ]'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment