├── LICENSE.txt ├── NOTICE.txt ├── README.md ├── cloudformation ├── aws-cloudformation-validation-pipeline.template ├── central-microservices.template ├── clone-repo.template └── main-pipeline.template ├── code ├── examples │ └── config.yml ├── lambda_functions │ ├── ami_check │ │ ├── ami_check.py │ │ └── requirements.txt │ ├── anon_reporting │ │ ├── anon_reporting.py │ │ └── requirements.txt │ ├── cleanup_on_stack_delete │ │ ├── cleanup_on_stack_delete.py │ │ └── requirements.txt │ ├── create_stack │ │ ├── create_stack.py │ │ └── requirements.txt │ ├── deploy_to_s3 │ │ ├── deploy_to_s3.py │ │ └── requirements.txt │ ├── email_notification │ │ ├── email_notification.py │ │ └── requirements.txt │ ├── generate_report │ │ ├── generate_report.py │ │ └── requirements.txt │ ├── git_pull │ │ ├── git_pull.py │ │ └── requirements.txt │ ├── lib │ │ ├── awsclients │ │ │ ├── __init__.py │ │ │ └── awsclients.py │ │ ├── cfnpipeline │ │ │ ├── __init__.py │ │ │ └── cfnpipeline.py │ │ ├── crhelper.py │ │ └── logger │ │ │ ├── __init__.py │ │ │ └── logger.py │ ├── lint_template │ │ ├── lint_template.py │ │ └── requirements.txt │ ├── stack_cleanup │ │ └── stack_cleanup.py │ ├── subnet_name │ │ ├── requirements.txt │ │ └── subnet_name.py │ ├── tcp_connect │ │ ├── requirements.txt │ │ └── tcp_connect.py │ └── validate_template │ │ ├── requirements.txt │ │ └── validate_template.py ├── scripts │ ├── cfn-validation-pipeline-cleanup │ ├── cfn-validation-pipeline-deploy │ ├── cfn-validation-pipeline-rollback │ └── cfn-validation-pipeline-skeleton └── tests │ ├── __init__.py │ ├── test_ami_check.py │ ├── test_anon_reporting.py │ ├── test_awsclients.py │ ├── test_cfnpipeline.py │ ├── test_cleanup_on_stack_delete.py │ ├── test_create_stack.py │ ├── test_deploy_to_s3.py │ ├── test_email_notification.py │ ├── test_generate_report.py │ ├── test_git_pull.py │ ├── test_lint_template.py │ ├── test_logger.py │ ├── test_stack_cleanup.py │ ├── test_subnet_name.py │ ├── test_tcp_connect.py │ └── test_validate_template.py ├── demo_source ├── LICENSE.txt ├── NOTICE.txt ├── README.md ├── ci │ ├── aws-vpc-3az-complete.json │ ├── aws-vpc-3az-public.json │ ├── aws-vpc-3az.json │ ├── aws-vpc-4az-complete.json │ ├── aws-vpc-4az-public.json │ ├── aws-vpc-4az.json │ ├── aws-vpc-complete.json │ ├── aws-vpc-defaults.json │ ├── aws-vpc-public.json │ └── config.yml └── templates │ └── aws-vpc.template └── setup.py /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /NOTICE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/NOTICE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/README.md -------------------------------------------------------------------------------- /cloudformation/aws-cloudformation-validation-pipeline.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/cloudformation/aws-cloudformation-validation-pipeline.template -------------------------------------------------------------------------------- /cloudformation/central-microservices.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/cloudformation/central-microservices.template -------------------------------------------------------------------------------- /cloudformation/clone-repo.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/cloudformation/clone-repo.template -------------------------------------------------------------------------------- /cloudformation/main-pipeline.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/cloudformation/main-pipeline.template -------------------------------------------------------------------------------- /code/examples/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/code/examples/config.yml -------------------------------------------------------------------------------- /code/lambda_functions/ami_check/ami_check.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/code/lambda_functions/ami_check/ami_check.py -------------------------------------------------------------------------------- /code/lambda_functions/ami_check/requirements.txt: -------------------------------------------------------------------------------- 1 | awsclients 2 | cfnpipeline 3 | logger 4 | pyyaml 5 | -------------------------------------------------------------------------------- /code/lambda_functions/anon_reporting/anon_reporting.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/code/lambda_functions/anon_reporting/anon_reporting.py -------------------------------------------------------------------------------- /code/lambda_functions/anon_reporting/requirements.txt: -------------------------------------------------------------------------------- 1 | crhelper 2 | -------------------------------------------------------------------------------- /code/lambda_functions/cleanup_on_stack_delete/cleanup_on_stack_delete.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/code/lambda_functions/cleanup_on_stack_delete/cleanup_on_stack_delete.py -------------------------------------------------------------------------------- /code/lambda_functions/cleanup_on_stack_delete/requirements.txt: -------------------------------------------------------------------------------- 1 | crhelper 2 | -------------------------------------------------------------------------------- /code/lambda_functions/create_stack/create_stack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/code/lambda_functions/create_stack/create_stack.py -------------------------------------------------------------------------------- /code/lambda_functions/create_stack/requirements.txt: -------------------------------------------------------------------------------- 1 | awsclients 2 | cfnpipeline 3 | logger 4 | pyyaml 5 | -------------------------------------------------------------------------------- /code/lambda_functions/deploy_to_s3/deploy_to_s3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/code/lambda_functions/deploy_to_s3/deploy_to_s3.py -------------------------------------------------------------------------------- /code/lambda_functions/deploy_to_s3/requirements.txt: -------------------------------------------------------------------------------- 1 | awsclients 2 | cfnpipeline 3 | logger 4 | pyyaml 5 | -------------------------------------------------------------------------------- /code/lambda_functions/email_notification/email_notification.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/code/lambda_functions/email_notification/email_notification.py -------------------------------------------------------------------------------- /code/lambda_functions/email_notification/requirements.txt: -------------------------------------------------------------------------------- 1 | awsclients 2 | cfnpipeline 3 | logger 4 | pyyaml 5 | -------------------------------------------------------------------------------- /code/lambda_functions/generate_report/generate_report.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/code/lambda_functions/generate_report/generate_report.py -------------------------------------------------------------------------------- /code/lambda_functions/generate_report/requirements.txt: -------------------------------------------------------------------------------- 1 | awsclients 2 | cfnpipeline 3 | logger 4 | pyyaml 5 | -------------------------------------------------------------------------------- /code/lambda_functions/git_pull/git_pull.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/code/lambda_functions/git_pull/git_pull.py -------------------------------------------------------------------------------- /code/lambda_functions/git_pull/requirements.txt: -------------------------------------------------------------------------------- 1 | crhelper 2 | pygit2 3 | -------------------------------------------------------------------------------- /code/lambda_functions/lib/awsclients/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/code/lambda_functions/lib/awsclients/__init__.py -------------------------------------------------------------------------------- /code/lambda_functions/lib/awsclients/awsclients.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/code/lambda_functions/lib/awsclients/awsclients.py -------------------------------------------------------------------------------- /code/lambda_functions/lib/cfnpipeline/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/code/lambda_functions/lib/cfnpipeline/__init__.py -------------------------------------------------------------------------------- /code/lambda_functions/lib/cfnpipeline/cfnpipeline.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/code/lambda_functions/lib/cfnpipeline/cfnpipeline.py -------------------------------------------------------------------------------- /code/lambda_functions/lib/crhelper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/code/lambda_functions/lib/crhelper.py -------------------------------------------------------------------------------- /code/lambda_functions/lib/logger/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/code/lambda_functions/lib/logger/__init__.py -------------------------------------------------------------------------------- /code/lambda_functions/lib/logger/logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/code/lambda_functions/lib/logger/logger.py -------------------------------------------------------------------------------- /code/lambda_functions/lint_template/lint_template.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/code/lambda_functions/lint_template/lint_template.py -------------------------------------------------------------------------------- /code/lambda_functions/lint_template/requirements.txt: -------------------------------------------------------------------------------- 1 | awsclients 2 | cfnpipeline 3 | logger 4 | pyyaml 5 | -------------------------------------------------------------------------------- /code/lambda_functions/stack_cleanup/stack_cleanup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/code/lambda_functions/stack_cleanup/stack_cleanup.py -------------------------------------------------------------------------------- /code/lambda_functions/subnet_name/requirements.txt: -------------------------------------------------------------------------------- 1 | awsclients 2 | cfnpipeline 3 | logger 4 | pyyaml 5 | -------------------------------------------------------------------------------- /code/lambda_functions/subnet_name/subnet_name.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/code/lambda_functions/subnet_name/subnet_name.py -------------------------------------------------------------------------------- /code/lambda_functions/tcp_connect/requirements.txt: -------------------------------------------------------------------------------- 1 | awsclients 2 | cfnpipeline 3 | logger 4 | pyyaml 5 | -------------------------------------------------------------------------------- /code/lambda_functions/tcp_connect/tcp_connect.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/code/lambda_functions/tcp_connect/tcp_connect.py -------------------------------------------------------------------------------- /code/lambda_functions/validate_template/requirements.txt: -------------------------------------------------------------------------------- 1 | awsclients 2 | cfnpipeline 3 | logger 4 | pyyaml 5 | -------------------------------------------------------------------------------- /code/lambda_functions/validate_template/validate_template.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/code/lambda_functions/validate_template/validate_template.py -------------------------------------------------------------------------------- /code/scripts/cfn-validation-pipeline-cleanup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/code/scripts/cfn-validation-pipeline-cleanup -------------------------------------------------------------------------------- /code/scripts/cfn-validation-pipeline-deploy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/code/scripts/cfn-validation-pipeline-deploy -------------------------------------------------------------------------------- /code/scripts/cfn-validation-pipeline-rollback: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/code/scripts/cfn-validation-pipeline-rollback -------------------------------------------------------------------------------- /code/scripts/cfn-validation-pipeline-skeleton: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/code/scripts/cfn-validation-pipeline-skeleton -------------------------------------------------------------------------------- /code/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /code/tests/test_ami_check.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/code/tests/test_ami_check.py -------------------------------------------------------------------------------- /code/tests/test_anon_reporting.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/code/tests/test_anon_reporting.py -------------------------------------------------------------------------------- /code/tests/test_awsclients.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/code/tests/test_awsclients.py -------------------------------------------------------------------------------- /code/tests/test_cfnpipeline.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/code/tests/test_cfnpipeline.py -------------------------------------------------------------------------------- /code/tests/test_cleanup_on_stack_delete.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/code/tests/test_cleanup_on_stack_delete.py -------------------------------------------------------------------------------- /code/tests/test_create_stack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/code/tests/test_create_stack.py -------------------------------------------------------------------------------- /code/tests/test_deploy_to_s3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/code/tests/test_deploy_to_s3.py -------------------------------------------------------------------------------- /code/tests/test_email_notification.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/code/tests/test_email_notification.py -------------------------------------------------------------------------------- /code/tests/test_generate_report.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/code/tests/test_generate_report.py -------------------------------------------------------------------------------- /code/tests/test_git_pull.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/code/tests/test_git_pull.py -------------------------------------------------------------------------------- /code/tests/test_lint_template.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/code/tests/test_lint_template.py -------------------------------------------------------------------------------- /code/tests/test_logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/code/tests/test_logger.py -------------------------------------------------------------------------------- /code/tests/test_stack_cleanup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/code/tests/test_stack_cleanup.py -------------------------------------------------------------------------------- /code/tests/test_subnet_name.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/code/tests/test_subnet_name.py -------------------------------------------------------------------------------- /code/tests/test_tcp_connect.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/code/tests/test_tcp_connect.py -------------------------------------------------------------------------------- /code/tests/test_validate_template.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/code/tests/test_validate_template.py -------------------------------------------------------------------------------- /demo_source/LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/demo_source/LICENSE.txt -------------------------------------------------------------------------------- /demo_source/NOTICE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/demo_source/NOTICE.txt -------------------------------------------------------------------------------- /demo_source/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/demo_source/README.md -------------------------------------------------------------------------------- /demo_source/ci/aws-vpc-3az-complete.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/demo_source/ci/aws-vpc-3az-complete.json -------------------------------------------------------------------------------- /demo_source/ci/aws-vpc-3az-public.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/demo_source/ci/aws-vpc-3az-public.json -------------------------------------------------------------------------------- /demo_source/ci/aws-vpc-3az.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/demo_source/ci/aws-vpc-3az.json -------------------------------------------------------------------------------- /demo_source/ci/aws-vpc-4az-complete.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/demo_source/ci/aws-vpc-4az-complete.json -------------------------------------------------------------------------------- /demo_source/ci/aws-vpc-4az-public.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/demo_source/ci/aws-vpc-4az-public.json -------------------------------------------------------------------------------- /demo_source/ci/aws-vpc-4az.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/demo_source/ci/aws-vpc-4az.json -------------------------------------------------------------------------------- /demo_source/ci/aws-vpc-complete.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/demo_source/ci/aws-vpc-complete.json -------------------------------------------------------------------------------- /demo_source/ci/aws-vpc-defaults.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/demo_source/ci/aws-vpc-defaults.json -------------------------------------------------------------------------------- /demo_source/ci/aws-vpc-public.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/demo_source/ci/aws-vpc-public.json -------------------------------------------------------------------------------- /demo_source/ci/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/demo_source/ci/config.yml -------------------------------------------------------------------------------- /demo_source/templates/aws-vpc.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/demo_source/templates/aws-vpc.template -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amazon-archives/cloudformation-validation-pipeline/HEAD/setup.py --------------------------------------------------------------------------------