Skip to content

Instantly share code, notes, and snippets.

@SydneyUni-Jim
Last active March 15, 2024 03:29
Show Gist options
  • Save SydneyUni-Jim/fad78c96bae5d3348f8b24449949c2e7 to your computer and use it in GitHub Desktop.
Save SydneyUni-Jim/fad78c96bae5d3348f8b24449949c2e7 to your computer and use it in GitHub Desktop.
Converts the output of route53 list-resource-record-sets into the change batch input for change-resource-record-sets.
{"Changes": .ResourceRecordSets | map({"Action": "UPSERT", "ResourceRecordSet": .})}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment