The terraform stacks deployment-group list command lists a configuration's deployment groups and provides guidance for investigating errors.