- Power symbols should point upwards
- Ground symbols should point downards
- Sections should be labeled
- Nets should generally not cross
- Nets should be labeled
- Either global or regular labels are fine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
ZONE_ID="[REDACTED]" | |
NAME="[REDACTED]" | |
AWS_IP=`aws route53 list-resource-record-sets --hosted-zone-id $ZONE_ID | jq '(.ResourceRecordSets[] | select(.Name | test("'$NAME'")) | [.ResourceRecords] )' | jq -r '.[0][0].Value'` | |
RETVAL=$? | |
if [ $RETVAL -ne 0 ]; then # Check if exit code doesn't equal 0 | |
exit 0 |