We need a working AWS account to complete this recipe.
CloudHSM usage costs more than KMS, and CloudHSM doesn't have a free tier either. If you are following these recipes for learning purposes, you should clean up the resources that you created after completing all the recipes related to CloudHSM.