├── .coveragerc ├── .github └── PULL_REQUEST_TEMPLATE.md ├── .gitignore ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── MANIFEST.in ├── NOTICE ├── README.md ├── bin └── README ├── doc ├── conf.py └── index.rst ├── setup.cfg ├── setup.py ├── src └── ssm_document_generator │ ├── __init__.py │ ├── build_tools │ ├── __init__.py │ ├── ssm_generator.py │ └── ssm_generator_build.py │ ├── command │ ├── __init__.py │ ├── result.py │ ├── result_status.py │ └── result_type.py │ ├── definition │ ├── __init__.py │ ├── bash_definition.py │ ├── bash_formatted_definition.py │ ├── definition.py │ ├── metadata │ │ ├── __init__.py │ │ ├── common.py │ │ ├── document_tags_metadata_mixin.py │ │ ├── ssm_parameter_store_metadata_mixin.py │ │ └── tag.py │ ├── mixins │ │ ├── __init__.py │ │ ├── bash_simple_result_format_mixin.py │ │ ├── compressor_mixin.py │ │ ├── generators.py │ │ ├── python_entry_point_mixin.py │ │ ├── read_from_file_mixin.py │ │ ├── run_as_user_mixin.py │ │ └── stickytape_mixin.py │ ├── parameters │ │ ├── __init__.py │ │ ├── assign_parameters_mixin.py │ │ ├── common.py │ │ ├── dict_parameters_mixin.py │ │ └── parameter.py │ ├── python_definition.py │ └── utils │ │ ├── __init__.py │ │ └── definition_troposphere_adapter.py │ ├── discovery │ ├── __init__.py │ └── discovery.py │ ├── document_manager.py │ ├── examples │ ├── __init__.py │ ├── dmesg │ │ ├── __init__.py │ │ ├── dmesg.sh │ │ └── dmesg_definition.py │ ├── get_file │ │ ├── __init__.py │ │ ├── get_file.py │ │ ├── get_file_definition.py │ │ └── lines_filter.py │ ├── md5sum_definition.py │ └── pstack_definition.py │ ├── main.py │ └── utils │ ├── __init__.py │ └── constants.py ├── test ├── README ├── __init__.py └── ssm_document_generator_test │ ├── __init__.py │ ├── definition │ ├── __init__.py │ ├── dummy_definition.py │ ├── metadata │ │ ├── __init__.py │ │ └── test_tag.py │ ├── mixins │ │ ├── __init__.py │ │ ├── test_compressor_mixin.py │ │ ├── test_generators.py │ │ ├── test_python_entry_point_mixin.py │ │ ├── test_read_from_file_mixin.py │ │ └── test_run_as_user_mixin.py │ ├── parameters │ │ ├── __init__.py │ │ ├── test_assign_parameters_mixin.py │ │ └── test_dict_parameters_mixin.py │ └── test_definition.py │ └── utils │ ├── __init__.py │ ├── test_result.py │ └── test_utils.py └── tools └── test_document.sh /.coveragerc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/.coveragerc -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/.gitignore -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/LICENSE -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- 1 | recursive-include src *.sh -------------------------------------------------------------------------------- /NOTICE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/NOTICE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/README.md -------------------------------------------------------------------------------- /bin/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/bin/README -------------------------------------------------------------------------------- /doc/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/doc/conf.py -------------------------------------------------------------------------------- /doc/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/doc/index.rst -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/setup.cfg -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/setup.py -------------------------------------------------------------------------------- /src/ssm_document_generator/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/ssm_document_generator/build_tools/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/ssm_document_generator/build_tools/ssm_generator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/src/ssm_document_generator/build_tools/ssm_generator.py -------------------------------------------------------------------------------- /src/ssm_document_generator/build_tools/ssm_generator_build.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/src/ssm_document_generator/build_tools/ssm_generator_build.py -------------------------------------------------------------------------------- /src/ssm_document_generator/command/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/ssm_document_generator/command/result.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/src/ssm_document_generator/command/result.py -------------------------------------------------------------------------------- /src/ssm_document_generator/command/result_status.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/src/ssm_document_generator/command/result_status.py -------------------------------------------------------------------------------- /src/ssm_document_generator/command/result_type.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/src/ssm_document_generator/command/result_type.py -------------------------------------------------------------------------------- /src/ssm_document_generator/definition/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/ssm_document_generator/definition/bash_definition.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/src/ssm_document_generator/definition/bash_definition.py -------------------------------------------------------------------------------- /src/ssm_document_generator/definition/bash_formatted_definition.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/src/ssm_document_generator/definition/bash_formatted_definition.py -------------------------------------------------------------------------------- /src/ssm_document_generator/definition/definition.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/src/ssm_document_generator/definition/definition.py -------------------------------------------------------------------------------- /src/ssm_document_generator/definition/metadata/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/ssm_document_generator/definition/metadata/common.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/src/ssm_document_generator/definition/metadata/common.py -------------------------------------------------------------------------------- /src/ssm_document_generator/definition/metadata/document_tags_metadata_mixin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/src/ssm_document_generator/definition/metadata/document_tags_metadata_mixin.py -------------------------------------------------------------------------------- /src/ssm_document_generator/definition/metadata/ssm_parameter_store_metadata_mixin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/src/ssm_document_generator/definition/metadata/ssm_parameter_store_metadata_mixin.py -------------------------------------------------------------------------------- /src/ssm_document_generator/definition/metadata/tag.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/src/ssm_document_generator/definition/metadata/tag.py -------------------------------------------------------------------------------- /src/ssm_document_generator/definition/mixins/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/ssm_document_generator/definition/mixins/bash_simple_result_format_mixin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/src/ssm_document_generator/definition/mixins/bash_simple_result_format_mixin.py -------------------------------------------------------------------------------- /src/ssm_document_generator/definition/mixins/compressor_mixin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/src/ssm_document_generator/definition/mixins/compressor_mixin.py -------------------------------------------------------------------------------- /src/ssm_document_generator/definition/mixins/generators.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/src/ssm_document_generator/definition/mixins/generators.py -------------------------------------------------------------------------------- /src/ssm_document_generator/definition/mixins/python_entry_point_mixin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/src/ssm_document_generator/definition/mixins/python_entry_point_mixin.py -------------------------------------------------------------------------------- /src/ssm_document_generator/definition/mixins/read_from_file_mixin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/src/ssm_document_generator/definition/mixins/read_from_file_mixin.py -------------------------------------------------------------------------------- /src/ssm_document_generator/definition/mixins/run_as_user_mixin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/src/ssm_document_generator/definition/mixins/run_as_user_mixin.py -------------------------------------------------------------------------------- /src/ssm_document_generator/definition/mixins/stickytape_mixin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/src/ssm_document_generator/definition/mixins/stickytape_mixin.py -------------------------------------------------------------------------------- /src/ssm_document_generator/definition/parameters/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/ssm_document_generator/definition/parameters/assign_parameters_mixin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/src/ssm_document_generator/definition/parameters/assign_parameters_mixin.py -------------------------------------------------------------------------------- /src/ssm_document_generator/definition/parameters/common.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/src/ssm_document_generator/definition/parameters/common.py -------------------------------------------------------------------------------- /src/ssm_document_generator/definition/parameters/dict_parameters_mixin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/src/ssm_document_generator/definition/parameters/dict_parameters_mixin.py -------------------------------------------------------------------------------- /src/ssm_document_generator/definition/parameters/parameter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/src/ssm_document_generator/definition/parameters/parameter.py -------------------------------------------------------------------------------- /src/ssm_document_generator/definition/python_definition.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/src/ssm_document_generator/definition/python_definition.py -------------------------------------------------------------------------------- /src/ssm_document_generator/definition/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/ssm_document_generator/definition/utils/definition_troposphere_adapter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/src/ssm_document_generator/definition/utils/definition_troposphere_adapter.py -------------------------------------------------------------------------------- /src/ssm_document_generator/discovery/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/ssm_document_generator/discovery/discovery.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/src/ssm_document_generator/discovery/discovery.py -------------------------------------------------------------------------------- /src/ssm_document_generator/document_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/src/ssm_document_generator/document_manager.py -------------------------------------------------------------------------------- /src/ssm_document_generator/examples/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/ssm_document_generator/examples/dmesg/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/ssm_document_generator/examples/dmesg/dmesg.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/src/ssm_document_generator/examples/dmesg/dmesg.sh -------------------------------------------------------------------------------- /src/ssm_document_generator/examples/dmesg/dmesg_definition.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/src/ssm_document_generator/examples/dmesg/dmesg_definition.py -------------------------------------------------------------------------------- /src/ssm_document_generator/examples/get_file/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/ssm_document_generator/examples/get_file/get_file.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/src/ssm_document_generator/examples/get_file/get_file.py -------------------------------------------------------------------------------- /src/ssm_document_generator/examples/get_file/get_file_definition.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/src/ssm_document_generator/examples/get_file/get_file_definition.py -------------------------------------------------------------------------------- /src/ssm_document_generator/examples/get_file/lines_filter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/src/ssm_document_generator/examples/get_file/lines_filter.py -------------------------------------------------------------------------------- /src/ssm_document_generator/examples/md5sum_definition.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/src/ssm_document_generator/examples/md5sum_definition.py -------------------------------------------------------------------------------- /src/ssm_document_generator/examples/pstack_definition.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/src/ssm_document_generator/examples/pstack_definition.py -------------------------------------------------------------------------------- /src/ssm_document_generator/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/src/ssm_document_generator/main.py -------------------------------------------------------------------------------- /src/ssm_document_generator/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/src/ssm_document_generator/utils/__init__.py -------------------------------------------------------------------------------- /src/ssm_document_generator/utils/constants.py: -------------------------------------------------------------------------------- 1 | SHEBANG_ENV = '#!/usr/bin/env' 2 | -------------------------------------------------------------------------------- /test/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/test/README -------------------------------------------------------------------------------- /test/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/ssm_document_generator_test/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/ssm_document_generator_test/definition/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/ssm_document_generator_test/definition/dummy_definition.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/test/ssm_document_generator_test/definition/dummy_definition.py -------------------------------------------------------------------------------- /test/ssm_document_generator_test/definition/metadata/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/ssm_document_generator_test/definition/metadata/test_tag.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/test/ssm_document_generator_test/definition/metadata/test_tag.py -------------------------------------------------------------------------------- /test/ssm_document_generator_test/definition/mixins/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/ssm_document_generator_test/definition/mixins/test_compressor_mixin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/test/ssm_document_generator_test/definition/mixins/test_compressor_mixin.py -------------------------------------------------------------------------------- /test/ssm_document_generator_test/definition/mixins/test_generators.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/test/ssm_document_generator_test/definition/mixins/test_generators.py -------------------------------------------------------------------------------- /test/ssm_document_generator_test/definition/mixins/test_python_entry_point_mixin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/test/ssm_document_generator_test/definition/mixins/test_python_entry_point_mixin.py -------------------------------------------------------------------------------- /test/ssm_document_generator_test/definition/mixins/test_read_from_file_mixin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/test/ssm_document_generator_test/definition/mixins/test_read_from_file_mixin.py -------------------------------------------------------------------------------- /test/ssm_document_generator_test/definition/mixins/test_run_as_user_mixin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/test/ssm_document_generator_test/definition/mixins/test_run_as_user_mixin.py -------------------------------------------------------------------------------- /test/ssm_document_generator_test/definition/parameters/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/ssm_document_generator_test/definition/parameters/test_assign_parameters_mixin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/test/ssm_document_generator_test/definition/parameters/test_assign_parameters_mixin.py -------------------------------------------------------------------------------- /test/ssm_document_generator_test/definition/parameters/test_dict_parameters_mixin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/test/ssm_document_generator_test/definition/parameters/test_dict_parameters_mixin.py -------------------------------------------------------------------------------- /test/ssm_document_generator_test/definition/test_definition.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/test/ssm_document_generator_test/definition/test_definition.py -------------------------------------------------------------------------------- /test/ssm_document_generator_test/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/ssm_document_generator_test/utils/test_result.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/test/ssm_document_generator_test/utils/test_result.py -------------------------------------------------------------------------------- /test/ssm_document_generator_test/utils/test_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/test/ssm_document_generator_test/utils/test_utils.py -------------------------------------------------------------------------------- /tools/test_document.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/aws-systems-manager-document-generator/HEAD/tools/test_document.sh --------------------------------------------------------------------------------