I am trying to setup hyperledger fabric blockchain network using amazon managed blockchain following this guide. In the step 3, I need MyPeerNodeEndpoint
to create docker_compose_cli.yaml
. For this, I executed this command aws managedblockchain get-node --network-id n-zzz --member-id m-zzzz
. It reports the following error,
usage: aws [options] <command> <subcommand> [<subcommand> ...] [parameters]
To see help text, you can run:
aws help
aws <command> help
aws <command> <subcommand> help
aws: error: argument --node-id is required
Where can I find this node-id
?
Assuming that
--network-id n-zzz --member-id m-zzzz
are correct, you can get the list of nodes available using list-nodes:The output of the command will contain "configuration properties for each node", one of which is the node-id.