The instructions in Appendix 3 have some errors.
Step 2.b should be modified to take the document output from step 2.a and modify the failure_domain_id and use that as the data for the PUT. You can use this jq query
fd_id="$fd_id" jq '.failure_domain_id = env.fd_id' transport-node-response.json
Step 3.a has "allocation_rules": [FD1], but it should be
allocation_rules=[ { "action" : { "enabled" : true, "action_type" : "AllocationBasedOnFailureDomain" } }]If you're looking for a jq query to make the change you can use:
jq '.allocation_rules = [ { "action" : { "enabled" : true, "action_type" : "AllocationBasedOnFailureDomain" } }]' edge-cluster-response.json