When I use count or for_each in my resource definition, the resources are created in parallel. Is there a kind of workaround to make it sequential? First a resource with count.index=0 is created, then count.index=1, then count.index=2 e.t.c.
A little background... I'm using terraform for initial Hyperledger Fabric setup. For some tasks I need to do configuration updates of the blockchain network sequentially (like approving chaincode for participating organizations). Otherwise I get (MVCC_READ_CONFLICT). This can of course be achieved if I outsource this logic completely to some bash script but maybe...