-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
simple modifications to work with private zones.
local ZONELIST=$(cli53 list -format json | jq --raw-output '.[] | select(.Config.PrivateZone == false) | .Name, .Id' | sed -e 's/.$//' | xargs echo -n | sed -e 's/ /hostedzone//|/g')
local TESTDOMAIN="${DOMAIN}"
local DOM=""
local ID=""
while [[ -n "$TESTDOMAIN" ]]; do
for zone in $ZONELIST; do
ID="${zone##|}"
DOM="${zone%|}"
if [[ "$DOM" == "$TESTDOMAIN" ]]; then
echo "$ID"
return 0
fi
done
TESTDOMAIN=$(get_base_name "$TESTDOMAIN")
done
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels