code: def generate_sample_stacker_module(env_root, module_dir=None):
      
      if module_dir is None:
          module_dir = os.path.join(env_root,
                                    'runway-sample-tfstate.cfn')
      generate_sample_module(module_dir)
      for i in ['stacks.yaml', 'dev-us-east-1.env']:
          shutil.copyfile(
              os.path.join(ROOT,
                           'templates',
                           'stacker',
                           i),
              os.path.join(module_dir, i)
          )
      os.mkdir(os.path.join(module_dir, 'tfstate_blueprints'))
      for i in ['__init__.py', 'tf_state.py']:
          shutil.copyfile(
              os.path.join(ROOT,
                           'templates',
                           'stacker',
                           'tfstate_blueprints',
                           i),
              os.path.join(module_dir, 'tfstate_blueprints', i)
          )
      os.chmod(  # make blueprint executable
          os.path.join(module_dir, 'tfstate_blueprints', 'tf_state.py'),
          os.stat(os.path.join(module_dir,
                               'tfstate_blueprints',
                               'tf_state.py')).st_mode | 0o0111
      )
      LOGGER.info("Sample Stacker module created at %s",
                  module_dir)
docs: Generate skeleton Stacker sample module.