akamai api change only named values for ttl allowed

This commit is contained in:
finn committed 2026-11-13 11:39:10 -07:00
1 parent 86f55e1563
commit 0f46f28f9f
1 file changed
+2 -2
+2 -2
View File
@@ -256,7 +256,7 @@ if [[ "$SCRIPT_ACTION" == "a" || "$UPDATE_A_RECORD" == "true" ]]; then
"type": "A", "type": "A",
"name": "'$NI_SUBDOMAIN'", "name": "'$NI_SUBDOMAIN'",
"target": "'$INSTANCE_IP'", "target": "'$INSTANCE_IP'",
"ttl_sec": 600 "ttl_sec": 300
}' \ }' \
https://api.linode.com/v4/domains/$WHICH_DOMAIN/records/$RECORD_ID | jq . https://api.linode.com/v4/domains/$WHICH_DOMAIN/records/$RECORD_ID | jq .
@@ -274,7 +274,7 @@ if [[ "$SCRIPT_ACTION" == "a" || "$UPDATE_A_RECORD" == "true" ]]; then
"type": "A", "type": "A",
"name": "'$NI_SUBDOMAIN'", "name": "'$NI_SUBDOMAIN'",
"target": "'$INSTANCE_IP'", "target": "'$INSTANCE_IP'",
"ttl_sec": 600 "ttl_sec": 300
}' \ }' \
https://api.linode.com/v4/domains/$WHICH_DOMAIN/records | jq . https://api.linode.com/v4/domains/$WHICH_DOMAIN/records | jq .
fi fi