code: def get_cdk_stacks(module_path, env_vars, context_opts):
      
      LOGGER.debug('Listing stacks in the CDK app prior to '
                   'diff')
      return subprocess.check_output(
          generate_node_command(
              command='cdk',
              command_opts=['list'] + context_opts,
              path=module_path),
          env=env_vars
      ).strip().split('\n')
docs: Return list of CDK stacks.