From ca329537464e60dc3f8bb95e93ec6957a597027c Mon Sep 17 00:00:00 2001 From: Simon Kok Date: Mon, 8 Apr 2024 14:40:50 +0200 Subject: [PATCH] Update copyright statements and license info **Why?** The year is no longer required in our Copyright statements. Additionally, some files were missing a Copyright / license statement, while it is a best practice to add one. **What?** * Add/upodate copyright statement, * Add Apache-2.0 license, except for Lambda Functions, these should have MIT-0 instead. Since most of our code is in the initial-commit Lambda Function, these files are under the MIT-0 license. With the exception of CloudFormation templates. --- Makefile | 2 +- Makefile.tox | 2 +- NOTICE.md | 2 +- resources/OrganizationAccountAccessRole.yaml | 3 +++ samples/sample-cdk-app/buildspec.yml | 3 +++ samples/sample-cdk-app/handler.py | 3 +++ samples/sample-cdk-app/index.ts | 3 +++ samples/sample-codebuild-vpc/buildspec.yml | 3 +++ samples/sample-codebuild-vpc/params/global.yml | 3 +++ samples/sample-codebuild-vpc/template.yml | 4 ++-- samples/sample-codebuild-vpc/testspec.yml | 3 +++ samples/sample-ec2-java-app-codedeploy/appspec.yml | 3 +++ samples/sample-ec2-java-app-codedeploy/buildspec.yml | 3 +++ samples/sample-ec2-java-app-codedeploy/pom.xml | 3 +++ samples/sample-ec2-java-app-codedeploy/scripts/start.sh | 3 +++ samples/sample-ec2-java-app-codedeploy/scripts/stop.sh | 3 +++ samples/sample-ec2-java-app-codedeploy/scripts/validate.sh | 3 +++ .../src/main/java/hello/Application.java | 3 +++ .../src/resources/application.yml | 3 +++ samples/sample-ec2-with-codedeploy/buildspec.yml | 3 +++ samples/sample-ec2-with-codedeploy/params/global.yml | 3 +++ .../scripts/install-codedeploy.sh | 3 +++ samples/sample-ec2-with-codedeploy/scripts/install-deps.sh | 3 +++ samples/sample-ec2-with-codedeploy/template.yml | 4 ++-- samples/sample-ecr-repository/buildspec.yml | 3 +++ samples/sample-ecr-repository/params/global.yml | 3 +++ samples/sample-ecr-repository/template.yml | 4 ++-- samples/sample-ecs-cluster/buildspec.yml | 3 +++ samples/sample-ecs-cluster/params/banking-production.yml | 3 +++ samples/sample-ecs-cluster/params/global.yml | 3 +++ samples/sample-ecs-cluster/template.yml | 4 ++-- samples/sample-etl-pipeline/scripts/some_etl_script.sh | 3 +++ samples/sample-expunge-vpc/build-lambda.sh | 3 +++ samples/sample-expunge-vpc/buildspec.yml | 3 +++ .../sample-expunge-vpc/src/lambda_vpc/lambda_function.py | 3 +++ samples/sample-expunge-vpc/template.yml | 3 +++ samples/sample-fargate-node-app/Dockerfile | 3 +++ samples/sample-fargate-node-app/build/docker.sh | 3 +++ .../sample-fargate-node-app/build/generate_parameters.sh | 3 +++ samples/sample-fargate-node-app/buildspec.yml | 3 +++ samples/sample-fargate-node-app/index.js | 3 +++ samples/sample-fargate-node-app/package.json | 2 +- .../sample-fargate-node-app/params/banking-production.yml | 3 +++ samples/sample-fargate-node-app/params/global.yml | 3 +++ samples/sample-fargate-node-app/public/main.css | 3 +++ samples/sample-fargate-node-app/template.yml | 4 ++-- samples/sample-fargate-node-app/views/index.ejs | 3 +++ samples/sample-iam/buildspec.yml | 3 +++ samples/sample-iam/params/global.yml | 3 +++ samples/sample-iam/template.yml | 4 ++-- samples/sample-mono-repo/apps/alpha/buildspec.yml | 3 +++ samples/sample-mono-repo/apps/alpha/params/global.yml | 3 +++ samples/sample-mono-repo/apps/alpha/template.yml | 4 ++-- samples/sample-mono-repo/apps/beta/buildspec.yml | 3 +++ samples/sample-mono-repo/apps/beta/params/global.yml | 3 +++ samples/sample-mono-repo/apps/beta/template.yml | 4 ++-- samples/sample-rdk-rules/buildspec.yml | 3 +++ .../EC2_CHECKS_TERMINATION_PROTECTION_ADF.py | 3 +++ .../EC2_CHECKS_TERMINATION_PROTECTION_ADF_test.py | 3 +++ samples/sample-rdk-rules/lambda_helper.py | 3 +++ samples/sample-serverless-app/build/generate_parameters.sh | 3 +++ samples/sample-serverless-app/buildspec.yml | 3 +++ samples/sample-serverless-app/handler.py | 3 +++ samples/sample-serverless-app/template.yml | 4 ++-- samples/sample-service-catalog-product/buildspec.yml | 3 +++ samples/sample-service-catalog-product/params/global.yml | 3 +++ .../sample-service-catalog-product/productX/template.yml | 4 ++-- samples/sample-service-catalog-product/template.yml | 4 ++-- samples/sample-terraform/buildspec.yml | 3 +++ samples/sample-terraform/params/global.yml | 3 +++ samples/sample-terraform/tf/backend.tf | 3 +++ samples/sample-terraform/tf/main.tf | 3 +++ samples/sample-terraform/tf/s3.tf | 3 +++ samples/sample-terraform/tf/variables.tf | 3 +++ samples/sample-terraform/tf_apply.yml | 3 +++ samples/sample-terraform/tf_destroy.yml | 3 +++ samples/sample-terraform/tf_plan.yml | 3 +++ samples/sample-terraform/tf_scan.yml | 3 +++ samples/sample-vpc/buildspec.yml | 3 +++ samples/sample-vpc/params/banking-production.yml | 3 +++ samples/sample-vpc/params/global.yml | 3 +++ samples/sample-vpc/template.yml | 4 ++-- src/lambda_codebase/__init__.py | 2 +- src/lambda_codebase/account/handler.py | 2 +- src/lambda_codebase/account/main.py | 3 ++- src/lambda_codebase/account/pytest.ini | 3 +++ src/lambda_codebase/account/tests/__init__.py | 2 +- src/lambda_codebase/account/tests/test_main.py | 2 +- src/lambda_codebase/account_bootstrap.py | 2 +- src/lambda_codebase/account_processing/__init__.py | 4 ++++ .../account_processing/configure_account_alias.py | 2 +- .../account_processing/configure_account_ou.py | 2 +- .../account_processing/configure_account_regions.py | 2 +- .../account_processing/configure_account_tags.py | 2 +- src/lambda_codebase/account_processing/create_account.py | 2 +- .../account_processing/delete_default_vpc.py | 2 +- .../account_processing/get_account_regions.py | 2 +- .../account_processing/process_account_files.py | 2 +- src/lambda_codebase/account_processing/pytest.ini | 4 +++- .../account_processing/register_account_for_support.py | 2 +- src/lambda_codebase/account_processing/tests/__init__.py | 4 ++++ .../account_processing/tests/test_account_alias.py | 3 +++ .../account_processing/tests/test_account_creation.py | 3 +++ .../tests/test_account_file_processing.py | 3 +++ .../account_processing/tests/test_account_tags.py | 3 +++ .../tests/test_configure_account_regions.py | 3 +++ .../account_processing/tests/test_get_default_regions.py | 3 +++ src/lambda_codebase/cross_region_bucket/handler.py | 2 +- src/lambda_codebase/cross_region_bucket/main.py | 2 +- src/lambda_codebase/deployment_account_config.py | 6 +++--- src/lambda_codebase/determine_event.py | 2 +- src/lambda_codebase/event.py | 2 +- src/lambda_codebase/generic_account_config.py | 3 +-- src/lambda_codebase/initial_commit/adf.yml.j2 | 3 +++ src/lambda_codebase/initial_commit/adfconfig.yml.j2 | 4 +++- .../adf-bootstrap/deployment/example-global-iam.yml | 5 +++-- .../adf-bootstrap/deployment/global.yml | 4 ++-- .../adf-bootstrap/deployment/lambda_codebase/__init__.py | 4 +++- .../determine_default_branch/determine_default_branch.py | 3 +++ .../lambda_codebase/determine_default_branch/handler.py | 3 +++ .../lambda_codebase/determine_default_branch/pytest.ini | 3 +++ .../determine_default_branch/tests/__init__.py | 2 +- .../tests/test_determine_default_branch.py | 2 +- .../lambda_codebase/enable_cross_account_access.py | 3 +-- .../lambda_codebase/iam_cfn_deploy_role_policy.py | 2 +- .../deployment/lambda_codebase/initial_commit/handler.py | 3 +++ .../lambda_codebase/initial_commit/initial_commit.py | 3 +++ .../pipelines_repository/example-deployment_map.yml | 3 +++ .../deployment/lambda_codebase/initial_commit/pytest.ini | 3 +++ .../lambda_codebase/initial_commit/tests/__init__.py | 2 +- .../initial_commit/tests/test_initial_commit.py | 2 +- .../pipeline_management/create_or_update_rule.py | 3 +++ .../pipeline_management/create_repository.py | 3 +++ .../pipeline_management/generate_pipeline_inputs.py | 3 +++ .../pipeline_management/identify_out_of_date_pipelines.py | 3 +++ .../pipeline_management/process_deployment_map.py | 3 +++ .../pipeline_management/store_pipeline_definition.py | 3 +++ .../pipeline_management/templates/codecommit.yml | 4 ++-- .../pipeline_management/templates/events.yml | 4 ++-- .../adf-bootstrap/deployment/lambda_codebase/pytest.ini | 3 +++ .../adf-bootstrap/deployment/lambda_codebase/slack.py | 2 +- .../deployment/lambda_codebase/tests/__init__.py | 2 +- .../deployment/lambda_codebase/tests/stubs/__init__.py | 2 +- .../deployment/lambda_codebase/tests/stubs/slack.py | 2 +- .../deployment/lambda_codebase/tests/stubs/stub_iam.py | 2 +- .../tests/test_iam_cfn_deploy_role_policy.py | 2 +- .../deployment/lambda_codebase/tests/test_slack.py | 2 +- .../deployment/lambda_codebase/update_pipelines.py | 2 +- .../adf-bootstrap/deployment/pipeline_management.yml | 3 +++ .../adf-bootstrap/deployment/regional.yml | 4 ++-- .../adf-bootstrap/example-global-iam.yml | 4 ++-- .../bootstrap_repository/adf-bootstrap/global.yml | 4 ++-- .../bootstrap_repository/adf-build/__init__.py | 2 +- .../initial_commit/bootstrap_repository/adf-build/config.py | 2 +- .../bootstrap_repository/adf-build/global.yml | 4 ++-- .../initial_commit/bootstrap_repository/adf-build/main.py | 2 +- .../bootstrap_repository/adf-build/organization_policy.py | 2 +- .../adf-build/provisioner/src/__init__.py | 2 +- .../adf-build/provisioner/src/account.py | 2 +- .../adf-build/provisioner/src/configparser.py | 2 +- .../adf-build/provisioner/src/support.py | 3 +++ .../bootstrap_repository/adf-build/provisioner/src/vpc.py | 2 +- .../bootstrap_repository/adf-build/shared/__init__.py | 2 +- .../bootstrap_repository/adf-build/shared/base_resolver.py | 2 +- .../bootstrap_repository/adf-build/shared/cdk/__init__.py | 2 +- .../adf-build/shared/cdk/cdk_constructs/__init__.py | 2 +- .../adf-build/shared/cdk/cdk_constructs/adf_chatbot.py | 2 +- .../shared/cdk/cdk_constructs/adf_cloudformation.py | 2 +- .../adf-build/shared/cdk/cdk_constructs/adf_codebuild.py | 2 +- .../adf-build/shared/cdk/cdk_constructs/adf_codecommit.py | 2 +- .../adf-build/shared/cdk/cdk_constructs/adf_codepipeline.py | 2 +- .../adf-build/shared/cdk/cdk_constructs/adf_codestar.py | 4 ++-- .../adf-build/shared/cdk/cdk_constructs/adf_events.py | 2 +- .../adf-build/shared/cdk/cdk_constructs/adf_github.py | 2 +- .../adf-build/shared/cdk/cdk_constructs/adf_jenkins.py | 2 +- .../shared/cdk/cdk_constructs/adf_notifications.py | 2 +- .../adf-build/shared/cdk/cdk_constructs/adf_s3.py | 2 +- .../adf-build/shared/cdk/cdk_constructs/tests/__init__.py | 2 +- .../cdk_constructs/tests/adf_codepipeline_test_constants.py | 3 +-- .../cdk_constructs/tests/test_adf_codebuild_buildspec.py | 2 +- .../tests/test_adf_codebuild_determine_build_image.py | 2 +- .../cdk_constructs/tests/test_adf_codepipeline_generate.py | 2 +- .../tests/test_adf_codepipeline_input_artifacts.py | 2 +- .../tests/test_adf_codepipeline_output_artifacts.py | 2 +- .../adf-build/shared/cdk/cdk_stacks/__init__.py | 2 ++ .../adf-build/shared/cdk/cdk_stacks/tests/__init__.py | 2 ++ .../adf-build/shared/cdk/clean_pipelines.py | 2 +- .../adf-build/shared/cdk/execute_pipeline_stacks.py | 2 +- .../adf-build/shared/cdk/generate_pipeline_stacks.py | 2 +- .../bootstrap_repository/adf-build/shared/cdk/pytest.ini | 3 +++ .../adf-build/shared/generate_params.py | 2 +- .../adf-build/shared/helpers/__init__.py | 2 +- .../shared/helpers/describe_codepipeline_trigger.py | 3 ++- .../adf-build/shared/helpers/package_transform.sh | 5 ++++- .../adf-build/shared/helpers/pytest.ini | 3 +++ .../shared/helpers/retrieve_organization_accounts.py | 3 +++ .../bootstrap_repository/adf-build/shared/helpers/sts.sh | 3 +++ .../adf-build/shared/helpers/sync_to_s3.py | 3 ++- .../adf-build/shared/helpers/terraform/adf_terraform.sh | 4 ++++ .../adf-build/shared/helpers/terraform/get_accounts.py | 2 +- .../adf-build/shared/helpers/terraform/install_terraform.sh | 4 ++++ .../adf-build/shared/helpers/tests/__init__.py | 2 +- .../adf-build/shared/helpers/tests/test_sync_to_s3.py | 3 +++ .../bootstrap_repository/adf-build/shared/pytest.ini | 3 +++ .../adf-build/shared/python/__init__.py | 2 +- .../bootstrap_repository/adf-build/shared/python/cache.py | 2 +- .../adf-build/shared/python/cloudformation.py | 2 +- .../adf-build/shared/python/cloudwatch.py | 3 +++ .../adf-build/shared/python/codepipeline.py | 3 +-- .../adf-build/shared/python/deployment_map.py | 2 +- .../bootstrap_repository/adf-build/shared/python/errors.py | 2 +- .../adf-build/shared/python/list_utils.py | 2 +- .../bootstrap_repository/adf-build/shared/python/logger.py | 2 +- .../adf-build/shared/python/organizations.py | 2 +- .../adf-build/shared/python/paginator.py | 2 +- .../adf-build/shared/python/parameter_store.py | 2 +- .../adf-build/shared/python/partition.py | 3 ++- .../adf-build/shared/python/pipeline.py | 2 +- .../bootstrap_repository/adf-build/shared/python/pytest.ini | 3 +++ .../bootstrap_repository/adf-build/shared/python/repo.py | 2 +- .../bootstrap_repository/adf-build/shared/python/rule.py | 2 +- .../bootstrap_repository/adf-build/shared/python/s3.py | 2 +- .../adf-build/shared/python/schema_validation.py | 2 +- .../adf-build/shared/python/stepfunctions.py | 2 +- .../bootstrap_repository/adf-build/shared/python/sts.py | 2 +- .../bootstrap_repository/adf-build/shared/python/target.py | 2 +- .../adf-build/shared/python/tests/__init__.py | 2 +- .../adf-build/shared/python/tests/stubs/__init__.py | 2 +- .../shared/python/tests/stubs/stub_cloudformation.py | 2 +- .../shared/python/tests/stubs/stub_codepipeline.py | 3 +-- .../shared/python/tests/stubs/stub_deployment_map.yml | 3 +++ .../adf-build/shared/python/tests/stubs/stub_event.py | 2 +- .../adf-build/shared/python/tests/stubs/stub_kms.py | 2 +- .../shared/python/tests/stubs/stub_organizations.py | 2 +- .../shared/python/tests/stubs/stub_parameter_store.py | 2 +- .../adf-build/shared/python/tests/stubs/stub_s3.py | 2 +- .../shared/python/tests/stubs/stub_step_functions.py | 2 +- .../adf-build/shared/python/tests/stubs/stub_target.py | 2 +- .../adf-build/shared/python/tests/test_cache.py | 2 +- .../adf-build/shared/python/tests/test_cloudformation.py | 2 +- .../adf-build/shared/python/tests/test_codepipeline.py | 2 +- .../adf-build/shared/python/tests/test_deployment_map.py | 2 +- .../adf-build/shared/python/tests/test_list_utils.py | 2 +- .../adf-build/shared/python/tests/test_organizations.py | 2 +- .../adf-build/shared/python/tests/test_parameter_store.py | 2 +- .../adf-build/shared/python/tests/test_partition.py | 3 +++ .../adf-build/shared/python/tests/test_pipeline.py | 2 +- .../adf-build/shared/python/tests/test_s3.py | 2 +- .../adf-build/shared/python/tests/test_schema_validation.py | 3 +++ .../adf-build/shared/python/tests/test_step_functions.py | 2 +- .../adf-build/shared/python/tests/test_target.py | 2 +- .../bootstrap_repository/adf-build/shared/python/thread.py | 3 +-- .../bootstrap_repository/adf-build/shared/resolver.py | 2 +- .../adf-build/shared/resolver_param_store.py | 2 +- .../adf-build/shared/resolver_stack_output.py | 2 +- .../adf-build/shared/resolver_upload.py | 2 +- .../adf-build/shared/templates/codecommit.yml | 4 ++-- .../adf-build/shared/templates/events.yml | 4 ++-- .../bootstrap_repository/adf-build/shared/tests/__init__.py | 2 +- .../adf-build/shared/tests/stubs/__init__.py | 2 +- .../parameter_environment_acceptance_tag_project_a.yml | 3 +++ .../adf-build/shared/tests/stubs/stub_cfn_global.yml | 3 +++ .../adf-build/shared/tests/test_generate_params.py | 2 +- .../bootstrap_repository/adf-build/store_config.py | 2 +- .../bootstrap_repository/adf-build/tests/__init__.py | 2 +- .../adf-build/tests/stubs/stub_adfconfig.yml | 3 +++ .../bootstrap_repository/adf-build/tests/test_config.py | 2 +- .../bootstrap_repository/adf-build/tests/test_main.py | 2 +- .../bootstrap_repository/example-adfconfig.yml | 3 +++ .../initial_commit/bootstrap_repository/pytest.ini | 3 +++ .../initial_commit/bootstrap_repository/tox.ini | 3 +++ src/lambda_codebase/initial_commit/handler.py | 3 +++ src/lambda_codebase/initial_commit/initial_commit.py | 3 +++ src/lambda_codebase/initial_commit/pytest.ini | 3 +++ src/lambda_codebase/initial_commit/tests/__init__.py | 2 +- .../initial_commit/tests/test_initial_commit.py | 2 +- src/lambda_codebase/moved_to_root.py | 2 +- src/lambda_codebase/organization/handler.py | 2 +- src/lambda_codebase/organization/main.py | 2 +- src/lambda_codebase/organization_unit/handler.py | 2 +- src/lambda_codebase/organization_unit/main.py | 2 +- src/lambda_codebase/wait_until_complete.py | 2 +- src/template.yml | 4 ++-- tox.ini | 3 +++ 284 files changed, 560 insertions(+), 199 deletions(-) diff --git a/Makefile b/Makefile index 124febc23..5395a39b8 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: Apache-2.0 # Makefile versions diff --git a/Makefile.tox b/Makefile.tox index 0c8d8521a..912392175 100644 --- a/Makefile.tox +++ b/Makefile.tox @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: Apache-2.0 # Files to work with diff --git a/NOTICE.md b/NOTICE.md index ee3e86b40..8d1be5488 100644 --- a/NOTICE.md +++ b/NOTICE.md @@ -2,4 +2,4 @@ AWS Deployment Framework -Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +Copyright Amazon.com Inc. or its affiliates. diff --git a/resources/OrganizationAccountAccessRole.yaml b/resources/OrganizationAccountAccessRole.yaml index 7711704cb..f1a359200 100644 --- a/resources/OrganizationAccountAccessRole.yaml +++ b/resources/OrganizationAccountAccessRole.yaml @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + AWSTemplateFormatVersion: "2010-09-09" Description: >- Organizational Account Access Role for Cross-Account automation diff --git a/samples/sample-cdk-app/buildspec.yml b/samples/sample-cdk-app/buildspec.yml index 6fe2b146f..3ddbd5003 100644 --- a/samples/sample-cdk-app/buildspec.yml +++ b/samples/sample-cdk-app/buildspec.yml @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + version: 0.2 phases: diff --git a/samples/sample-cdk-app/handler.py b/samples/sample-cdk-app/handler.py index 021dc6519..ed280a2ae 100644 --- a/samples/sample-cdk-app/handler.py +++ b/samples/sample-cdk-app/handler.py @@ -1,2 +1,5 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + def main(event, context): print("I'm running!") diff --git a/samples/sample-cdk-app/index.ts b/samples/sample-cdk-app/index.ts index 677ca5765..27c7272a6 100644 --- a/samples/sample-cdk-app/index.ts +++ b/samples/sample-cdk-app/index.ts @@ -1,3 +1,6 @@ +// Copyright Amazon.com Inc. or its affiliates. +// SPDX-License-Identifier: Apache-2.0 + import events = require('@aws-cdk/aws-events'); import targets = require('@aws-cdk/aws-events-targets'); import lambda = require('@aws-cdk/aws-lambda'); diff --git a/samples/sample-codebuild-vpc/buildspec.yml b/samples/sample-codebuild-vpc/buildspec.yml index 3f6ef2309..fd64374bd 100644 --- a/samples/sample-codebuild-vpc/buildspec.yml +++ b/samples/sample-codebuild-vpc/buildspec.yml @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + version: 0.2 phases: diff --git a/samples/sample-codebuild-vpc/params/global.yml b/samples/sample-codebuild-vpc/params/global.yml index 89f82f3ab..e6ca8bbc5 100644 --- a/samples/sample-codebuild-vpc/params/global.yml +++ b/samples/sample-codebuild-vpc/params/global.yml @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + Tags: Repository: sample-codebuild-vpc-repo App: Sample CodeBuild VPC application diff --git a/samples/sample-codebuild-vpc/template.yml b/samples/sample-codebuild-vpc/template.yml index c84eff6b6..765755bde 100644 --- a/samples/sample-codebuild-vpc/template.yml +++ b/samples/sample-codebuild-vpc/template.yml @@ -1,5 +1,5 @@ -# // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. -# // SPDX-License-Identifier: Apache-2.0 +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 AWSTemplateFormatVersion: '2010-09-09' Description: ADF CloudFormation Sample Template diff --git a/samples/sample-codebuild-vpc/testspec.yml b/samples/sample-codebuild-vpc/testspec.yml index de0bfb94a..5a01edfcf 100644 --- a/samples/sample-codebuild-vpc/testspec.yml +++ b/samples/sample-codebuild-vpc/testspec.yml @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + version: 0.2 phases: diff --git a/samples/sample-ec2-java-app-codedeploy/appspec.yml b/samples/sample-ec2-java-app-codedeploy/appspec.yml index 99a02bc57..ad4633d37 100644 --- a/samples/sample-ec2-java-app-codedeploy/appspec.yml +++ b/samples/sample-ec2-java-app-codedeploy/appspec.yml @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + version: 0.0 os: linux diff --git a/samples/sample-ec2-java-app-codedeploy/buildspec.yml b/samples/sample-ec2-java-app-codedeploy/buildspec.yml index ce70f06b8..49792a062 100644 --- a/samples/sample-ec2-java-app-codedeploy/buildspec.yml +++ b/samples/sample-ec2-java-app-codedeploy/buildspec.yml @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + version: 0.2 phases: diff --git a/samples/sample-ec2-java-app-codedeploy/pom.xml b/samples/sample-ec2-java-app-codedeploy/pom.xml index 4d3e62561..750b24e40 100644 --- a/samples/sample-ec2-java-app-codedeploy/pom.xml +++ b/samples/sample-ec2-java-app-codedeploy/pom.xml @@ -1,3 +1,6 @@ + + + diff --git a/samples/sample-ec2-java-app-codedeploy/scripts/start.sh b/samples/sample-ec2-java-app-codedeploy/scripts/start.sh index 649b805f9..6287f2e68 100755 --- a/samples/sample-ec2-java-app-codedeploy/scripts/start.sh +++ b/samples/sample-ec2-java-app-codedeploy/scripts/start.sh @@ -1,5 +1,8 @@ #!/usr/bin/env bash +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + cd /home/ec2-user/server sudo /usr/bin/java -jar -Dserver.port=80 \ *.jar > /dev/null 2> /dev/null < /dev/null & diff --git a/samples/sample-ec2-java-app-codedeploy/scripts/stop.sh b/samples/sample-ec2-java-app-codedeploy/scripts/stop.sh index b20ff5949..f028bea4a 100755 --- a/samples/sample-ec2-java-app-codedeploy/scripts/stop.sh +++ b/samples/sample-ec2-java-app-codedeploy/scripts/stop.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + sudo killall java exit 0 diff --git a/samples/sample-ec2-java-app-codedeploy/scripts/validate.sh b/samples/sample-ec2-java-app-codedeploy/scripts/validate.sh index 30b9c8668..be90adf22 100755 --- a/samples/sample-ec2-java-app-codedeploy/scripts/validate.sh +++ b/samples/sample-ec2-java-app-codedeploy/scripts/validate.sh @@ -1,5 +1,8 @@ #!/usr/bin/env bash +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + echo "Waiting for 15 seconds before checking health.." sleep 15 diff --git a/samples/sample-ec2-java-app-codedeploy/src/main/java/hello/Application.java b/samples/sample-ec2-java-app-codedeploy/src/main/java/hello/Application.java index b87ae5390..2b00894e0 100644 --- a/samples/sample-ec2-java-app-codedeploy/src/main/java/hello/Application.java +++ b/samples/sample-ec2-java-app-codedeploy/src/main/java/hello/Application.java @@ -1,3 +1,6 @@ +// Copyright Amazon.com Inc. or its affiliates. +// SPDX-License-Identifier: Apache-2.0 + package hello; import org.springframework.boot.SpringApplication; diff --git a/samples/sample-ec2-java-app-codedeploy/src/resources/application.yml b/samples/sample-ec2-java-app-codedeploy/src/resources/application.yml index 351e62e9c..0baa50eae 100644 --- a/samples/sample-ec2-java-app-codedeploy/src/resources/application.yml +++ b/samples/sample-ec2-java-app-codedeploy/src/resources/application.yml @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + server: port: 8080 diff --git a/samples/sample-ec2-with-codedeploy/buildspec.yml b/samples/sample-ec2-with-codedeploy/buildspec.yml index 6a1fec8e0..ded1b65a2 100644 --- a/samples/sample-ec2-with-codedeploy/buildspec.yml +++ b/samples/sample-ec2-with-codedeploy/buildspec.yml @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + version: 0.2 phases: diff --git a/samples/sample-ec2-with-codedeploy/params/global.yml b/samples/sample-ec2-with-codedeploy/params/global.yml index 841df8a2b..b943f40bd 100644 --- a/samples/sample-ec2-with-codedeploy/params/global.yml +++ b/samples/sample-ec2-with-codedeploy/params/global.yml @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + Parameters: Environment: testing ApplicationName: sample diff --git a/samples/sample-ec2-with-codedeploy/scripts/install-codedeploy.sh b/samples/sample-ec2-with-codedeploy/scripts/install-codedeploy.sh index 96a9d1af5..68191cc9f 100755 --- a/samples/sample-ec2-with-codedeploy/scripts/install-codedeploy.sh +++ b/samples/sample-ec2-with-codedeploy/scripts/install-codedeploy.sh @@ -1,5 +1,8 @@ #!/usr/bin/env bash +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + set -xe ## Code Deploy Agent Bootstrap Script ## diff --git a/samples/sample-ec2-with-codedeploy/scripts/install-deps.sh b/samples/sample-ec2-with-codedeploy/scripts/install-deps.sh index 874e4f050..286723b72 100755 --- a/samples/sample-ec2-with-codedeploy/scripts/install-deps.sh +++ b/samples/sample-ec2-with-codedeploy/scripts/install-deps.sh @@ -1,5 +1,8 @@ #!/bin/bash +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + # install apache httpd sudo yum install httpd -y diff --git a/samples/sample-ec2-with-codedeploy/template.yml b/samples/sample-ec2-with-codedeploy/template.yml index 4678f740f..fc4621830 100644 --- a/samples/sample-ec2-with-codedeploy/template.yml +++ b/samples/sample-ec2-with-codedeploy/template.yml @@ -1,5 +1,5 @@ -# // Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. -# // SPDX-License-Identifier: Apache-2.0 +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 AWSTemplateFormatVersion: '2010-09-09' Description: ADF CloudFormation Sample Template (EC2 Application with CodeDeploy Components) diff --git a/samples/sample-ecr-repository/buildspec.yml b/samples/sample-ecr-repository/buildspec.yml index 6a1fec8e0..ded1b65a2 100644 --- a/samples/sample-ecr-repository/buildspec.yml +++ b/samples/sample-ecr-repository/buildspec.yml @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + version: 0.2 phases: diff --git a/samples/sample-ecr-repository/params/global.yml b/samples/sample-ecr-repository/params/global.yml index a8d470838..6629a4e30 100644 --- a/samples/sample-ecr-repository/params/global.yml +++ b/samples/sample-ecr-repository/params/global.yml @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + Parameters: TestingAccountId: '11111111111' ProductionAccountId: '999999999999' diff --git a/samples/sample-ecr-repository/template.yml b/samples/sample-ecr-repository/template.yml index dd1236d7b..27e1e7a9c 100644 --- a/samples/sample-ecr-repository/template.yml +++ b/samples/sample-ecr-repository/template.yml @@ -1,5 +1,5 @@ -# // Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. -# // SPDX-License-Identifier: Apache-2.0 +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 AWSTemplateFormatVersion: "2010-09-09" Description: ADF CloudFormation Sample Template (Shared ECR Repository) diff --git a/samples/sample-ecs-cluster/buildspec.yml b/samples/sample-ecs-cluster/buildspec.yml index 6a1fec8e0..ded1b65a2 100644 --- a/samples/sample-ecs-cluster/buildspec.yml +++ b/samples/sample-ecs-cluster/buildspec.yml @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + version: 0.2 phases: diff --git a/samples/sample-ecs-cluster/params/banking-production.yml b/samples/sample-ecs-cluster/params/banking-production.yml index 4dc7da870..751758b2b 100644 --- a/samples/sample-ecs-cluster/params/banking-production.yml +++ b/samples/sample-ecs-cluster/params/banking-production.yml @@ -1,2 +1,5 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + Parameters: Environment: production diff --git a/samples/sample-ecs-cluster/params/global.yml b/samples/sample-ecs-cluster/params/global.yml index 64879d90f..d8f28ecfd 100644 --- a/samples/sample-ecs-cluster/params/global.yml +++ b/samples/sample-ecs-cluster/params/global.yml @@ -1,2 +1,5 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + Parameters: Environment: testing diff --git a/samples/sample-ecs-cluster/template.yml b/samples/sample-ecs-cluster/template.yml index b75cc9d6b..8119f437a 100644 --- a/samples/sample-ecs-cluster/template.yml +++ b/samples/sample-ecs-cluster/template.yml @@ -1,5 +1,5 @@ -# // Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. -# // SPDX-License-Identifier: Apache-2.0 +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 # This Template builds on top of the great work of Nathan Pec # => https://github.com/nathanpeck/aws-cloudformation-fargate diff --git a/samples/sample-etl-pipeline/scripts/some_etl_script.sh b/samples/sample-etl-pipeline/scripts/some_etl_script.sh index fb990999f..2447d01ba 100755 --- a/samples/sample-etl-pipeline/scripts/some_etl_script.sh +++ b/samples/sample-etl-pipeline/scripts/some_etl_script.sh @@ -1,5 +1,8 @@ #!/usr/bin/env bash +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + set -e echo "Doing some ETL tasks... This could also be done with a custom CodeBuild Image..." diff --git a/samples/sample-expunge-vpc/build-lambda.sh b/samples/sample-expunge-vpc/build-lambda.sh index 88363074f..dd21b1308 100755 --- a/samples/sample-expunge-vpc/build-lambda.sh +++ b/samples/sample-expunge-vpc/build-lambda.sh @@ -1,5 +1,8 @@ #!/usr/bin/env bash +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + set -e cd src/lambda_vpc diff --git a/samples/sample-expunge-vpc/buildspec.yml b/samples/sample-expunge-vpc/buildspec.yml index 8552f31a2..f7747999b 100644 --- a/samples/sample-expunge-vpc/buildspec.yml +++ b/samples/sample-expunge-vpc/buildspec.yml @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + version: 0.2 phases: diff --git a/samples/sample-expunge-vpc/src/lambda_vpc/lambda_function.py b/samples/sample-expunge-vpc/src/lambda_vpc/lambda_function.py index 45c57ce6a..5bc1512c1 100644 --- a/samples/sample-expunge-vpc/src/lambda_vpc/lambda_function.py +++ b/samples/sample-expunge-vpc/src/lambda_vpc/lambda_function.py @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: MIT-0 + from crhelper import CfnResource import logging import boto3 diff --git a/samples/sample-expunge-vpc/template.yml b/samples/sample-expunge-vpc/template.yml index 9ae2acd4b..effa4dc08 100644 --- a/samples/sample-expunge-vpc/template.yml +++ b/samples/sample-expunge-vpc/template.yml @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + AWSTemplateFormatVersion: "2010-09-09" Transform: AWS::Serverless-2016-10-31 Description: Deploys the Custom Resource for deleting the default VPC in all regions diff --git a/samples/sample-fargate-node-app/Dockerfile b/samples/sample-fargate-node-app/Dockerfile index 990a2a87d..09e956fc4 100644 --- a/samples/sample-fargate-node-app/Dockerfile +++ b/samples/sample-fargate-node-app/Dockerfile @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + FROM node:current-alpine WORKDIR /app COPY . . diff --git a/samples/sample-fargate-node-app/build/docker.sh b/samples/sample-fargate-node-app/build/docker.sh index 2e628a446..00af49e54 100755 --- a/samples/sample-fargate-node-app/build/docker.sh +++ b/samples/sample-fargate-node-app/build/docker.sh @@ -1,5 +1,8 @@ #!/usr/bin/env bash +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + set -e $(aws ecr get-login --region $AWS_REGION --no-include-email) diff --git a/samples/sample-fargate-node-app/build/generate_parameters.sh b/samples/sample-fargate-node-app/build/generate_parameters.sh index bd4e78bc3..f3ee980ed 100755 --- a/samples/sample-fargate-node-app/build/generate_parameters.sh +++ b/samples/sample-fargate-node-app/build/generate_parameters.sh @@ -1,5 +1,8 @@ #!/usr/bin/env bash +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + set -e aws s3 cp s3://$S3_BUCKET_NAME/adf-build/ adf-build/ --recursive --quiet diff --git a/samples/sample-fargate-node-app/buildspec.yml b/samples/sample-fargate-node-app/buildspec.yml index 1d52d3e0f..338c0908a 100644 --- a/samples/sample-fargate-node-app/buildspec.yml +++ b/samples/sample-fargate-node-app/buildspec.yml @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + version: 0.2 phases: diff --git a/samples/sample-fargate-node-app/index.js b/samples/sample-fargate-node-app/index.js index 53f7ada70..54271436c 100644 --- a/samples/sample-fargate-node-app/index.js +++ b/samples/sample-fargate-node-app/index.js @@ -1,3 +1,6 @@ +// Copyright Amazon.com Inc. or its affiliates. +// SPDX-License-Identifier: Apache-2.0 + const express = require('express') const app = express() diff --git a/samples/sample-fargate-node-app/package.json b/samples/sample-fargate-node-app/package.json index 60de2701d..fc57c503a 100644 --- a/samples/sample-fargate-node-app/package.json +++ b/samples/sample-fargate-node-app/package.json @@ -8,7 +8,7 @@ "start": "node index.js" }, "author": "", - "license": "ISC", + "license": "Apache-2.0", "dependencies": { "ejs": "^3.1.7", "express": "^4.16.3" diff --git a/samples/sample-fargate-node-app/params/banking-production.yml b/samples/sample-fargate-node-app/params/banking-production.yml index 4dc7da870..751758b2b 100644 --- a/samples/sample-fargate-node-app/params/banking-production.yml +++ b/samples/sample-fargate-node-app/params/banking-production.yml @@ -1,2 +1,5 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + Parameters: Environment: production diff --git a/samples/sample-fargate-node-app/params/global.yml b/samples/sample-fargate-node-app/params/global.yml index 83a9fca47..c49392d8c 100644 --- a/samples/sample-fargate-node-app/params/global.yml +++ b/samples/sample-fargate-node-app/params/global.yml @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + Parameters: Environment: testing ServiceName: sample-node-app diff --git a/samples/sample-fargate-node-app/public/main.css b/samples/sample-fargate-node-app/public/main.css index 62ea76a58..0334353b5 100644 --- a/samples/sample-fargate-node-app/public/main.css +++ b/samples/sample-fargate-node-app/public/main.css @@ -1,3 +1,6 @@ +/* Copyright Amazon.com Inc. or its affiliates. */ +/* SPDX-License-Identifier: Apache-2.0 */ + @import url(https://fonts.googleapis.com/css?family=Signika:700,300,600); html, body { diff --git a/samples/sample-fargate-node-app/template.yml b/samples/sample-fargate-node-app/template.yml index bca67e507..b65912c34 100644 --- a/samples/sample-fargate-node-app/template.yml +++ b/samples/sample-fargate-node-app/template.yml @@ -1,5 +1,5 @@ -# // Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. -# // SPDX-License-Identifier: Apache-2.0 +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 AWSTemplateFormatVersion: '2010-09-09' Description: ADF CloudFormation Sample Template (NodeJS Application) diff --git a/samples/sample-fargate-node-app/views/index.ejs b/samples/sample-fargate-node-app/views/index.ejs index dbaf74f74..42d70cd24 100644 --- a/samples/sample-fargate-node-app/views/index.ejs +++ b/samples/sample-fargate-node-app/views/index.ejs @@ -1,6 +1,9 @@ + + + Sample App diff --git a/samples/sample-iam/buildspec.yml b/samples/sample-iam/buildspec.yml index 6a1fec8e0..ded1b65a2 100644 --- a/samples/sample-iam/buildspec.yml +++ b/samples/sample-iam/buildspec.yml @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + version: 0.2 phases: diff --git a/samples/sample-iam/params/global.yml b/samples/sample-iam/params/global.yml index bb9e55587..5eb7c880e 100644 --- a/samples/sample-iam/params/global.yml +++ b/samples/sample-iam/params/global.yml @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + Tags: TagKey: my_tag MyKey: new_value diff --git a/samples/sample-iam/template.yml b/samples/sample-iam/template.yml index b79ea4dc9..078b9e7f1 100644 --- a/samples/sample-iam/template.yml +++ b/samples/sample-iam/template.yml @@ -1,5 +1,5 @@ -# // Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. -# // SPDX-License-Identifier: Apache-2.0 +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 AWSTemplateFormatVersion: "2010-09-09" Description: ADF CloudFormation Sample Template (IAM) diff --git a/samples/sample-mono-repo/apps/alpha/buildspec.yml b/samples/sample-mono-repo/apps/alpha/buildspec.yml index 40bc977a4..9c261d94f 100644 --- a/samples/sample-mono-repo/apps/alpha/buildspec.yml +++ b/samples/sample-mono-repo/apps/alpha/buildspec.yml @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + version: 0.2 env: diff --git a/samples/sample-mono-repo/apps/alpha/params/global.yml b/samples/sample-mono-repo/apps/alpha/params/global.yml index 6e9aac14e..1def24a0b 100644 --- a/samples/sample-mono-repo/apps/alpha/params/global.yml +++ b/samples/sample-mono-repo/apps/alpha/params/global.yml @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + Tags: Repository: sample-mono-repo App: Sample Mono Repo Alpha diff --git a/samples/sample-mono-repo/apps/alpha/template.yml b/samples/sample-mono-repo/apps/alpha/template.yml index d66f763f5..d16ce57ce 100644 --- a/samples/sample-mono-repo/apps/alpha/template.yml +++ b/samples/sample-mono-repo/apps/alpha/template.yml @@ -1,5 +1,5 @@ -# // Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. -# // SPDX-License-Identifier: Apache-2.0 +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 AWSTemplateFormatVersion: '2010-09-09' Description: ADF CloudFormation Sample Template (Mono Repo/App A) diff --git a/samples/sample-mono-repo/apps/beta/buildspec.yml b/samples/sample-mono-repo/apps/beta/buildspec.yml index 1d6fbb406..db78d3ddb 100644 --- a/samples/sample-mono-repo/apps/beta/buildspec.yml +++ b/samples/sample-mono-repo/apps/beta/buildspec.yml @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + version: 0.2 env: diff --git a/samples/sample-mono-repo/apps/beta/params/global.yml b/samples/sample-mono-repo/apps/beta/params/global.yml index cad0c8edf..a6155e8b6 100644 --- a/samples/sample-mono-repo/apps/beta/params/global.yml +++ b/samples/sample-mono-repo/apps/beta/params/global.yml @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + Tags: Repository: sample-mono-repo App: Sample Mono Repo Beta diff --git a/samples/sample-mono-repo/apps/beta/template.yml b/samples/sample-mono-repo/apps/beta/template.yml index dcecce2c1..1dc45fcb1 100644 --- a/samples/sample-mono-repo/apps/beta/template.yml +++ b/samples/sample-mono-repo/apps/beta/template.yml @@ -1,5 +1,5 @@ -# // Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. -# // SPDX-License-Identifier: Apache-2.0 +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 AWSTemplateFormatVersion: '2010-09-09' Description: ADF CloudFormation Sample Template (Mono Repo/App B) diff --git a/samples/sample-rdk-rules/buildspec.yml b/samples/sample-rdk-rules/buildspec.yml index cff95a70d..92b691e34 100644 --- a/samples/sample-rdk-rules/buildspec.yml +++ b/samples/sample-rdk-rules/buildspec.yml @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + version: 0.2 phases: install: diff --git a/samples/sample-rdk-rules/config-rules/EC2_CHECKS_TERMINATION_PROTECTION_ADF/EC2_CHECKS_TERMINATION_PROTECTION_ADF.py b/samples/sample-rdk-rules/config-rules/EC2_CHECKS_TERMINATION_PROTECTION_ADF/EC2_CHECKS_TERMINATION_PROTECTION_ADF.py index 9fec25f97..49cdabbdf 100644 --- a/samples/sample-rdk-rules/config-rules/EC2_CHECKS_TERMINATION_PROTECTION_ADF/EC2_CHECKS_TERMINATION_PROTECTION_ADF.py +++ b/samples/sample-rdk-rules/config-rules/EC2_CHECKS_TERMINATION_PROTECTION_ADF/EC2_CHECKS_TERMINATION_PROTECTION_ADF.py @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + import json import sys import datetime diff --git a/samples/sample-rdk-rules/config-rules/EC2_CHECKS_TERMINATION_PROTECTION_ADF/EC2_CHECKS_TERMINATION_PROTECTION_ADF_test.py b/samples/sample-rdk-rules/config-rules/EC2_CHECKS_TERMINATION_PROTECTION_ADF/EC2_CHECKS_TERMINATION_PROTECTION_ADF_test.py index dd0c4cfb5..c158fee04 100644 --- a/samples/sample-rdk-rules/config-rules/EC2_CHECKS_TERMINATION_PROTECTION_ADF/EC2_CHECKS_TERMINATION_PROTECTION_ADF_test.py +++ b/samples/sample-rdk-rules/config-rules/EC2_CHECKS_TERMINATION_PROTECTION_ADF/EC2_CHECKS_TERMINATION_PROTECTION_ADF_test.py @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + import sys import unittest from unittest.mock import MagicMock diff --git a/samples/sample-rdk-rules/lambda_helper.py b/samples/sample-rdk-rules/lambda_helper.py index 651e8d39e..b2aa42020 100644 --- a/samples/sample-rdk-rules/lambda_helper.py +++ b/samples/sample-rdk-rules/lambda_helper.py @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: MIT-0 + import argparse import json import os diff --git a/samples/sample-serverless-app/build/generate_parameters.sh b/samples/sample-serverless-app/build/generate_parameters.sh index bd4e78bc3..f3ee980ed 100755 --- a/samples/sample-serverless-app/build/generate_parameters.sh +++ b/samples/sample-serverless-app/build/generate_parameters.sh @@ -1,5 +1,8 @@ #!/usr/bin/env bash +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + set -e aws s3 cp s3://$S3_BUCKET_NAME/adf-build/ adf-build/ --recursive --quiet diff --git a/samples/sample-serverless-app/buildspec.yml b/samples/sample-serverless-app/buildspec.yml index 40de04f0b..b35e18af0 100644 --- a/samples/sample-serverless-app/buildspec.yml +++ b/samples/sample-serverless-app/buildspec.yml @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + version: 0.2 phases: diff --git a/samples/sample-serverless-app/handler.py b/samples/sample-serverless-app/handler.py index 26fdb835f..c867a9dd0 100644 --- a/samples/sample-serverless-app/handler.py +++ b/samples/sample-serverless-app/handler.py @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + import json def lambda_handler(event, context): diff --git a/samples/sample-serverless-app/template.yml b/samples/sample-serverless-app/template.yml index 197834926..f772429dd 100644 --- a/samples/sample-serverless-app/template.yml +++ b/samples/sample-serverless-app/template.yml @@ -1,5 +1,5 @@ -# // Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. -# // SPDX-License-Identifier: Apache-2.0 +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 AWSTemplateFormatVersion: '2010-09-09' Transform: AWS::Serverless-2016-10-31 diff --git a/samples/sample-service-catalog-product/buildspec.yml b/samples/sample-service-catalog-product/buildspec.yml index 6a1fec8e0..ded1b65a2 100644 --- a/samples/sample-service-catalog-product/buildspec.yml +++ b/samples/sample-service-catalog-product/buildspec.yml @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + version: 0.2 phases: diff --git a/samples/sample-service-catalog-product/params/global.yml b/samples/sample-service-catalog-product/params/global.yml index 92719d56b..d5f55239d 100644 --- a/samples/sample-service-catalog-product/params/global.yml +++ b/samples/sample-service-catalog-product/params/global.yml @@ -1,2 +1,5 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + Parameters: ProductXTemplateURL: 'upload:eu-central-1:productX/template.yml' diff --git a/samples/sample-service-catalog-product/productX/template.yml b/samples/sample-service-catalog-product/productX/template.yml index 04480a4e2..4f2ea5a7c 100644 --- a/samples/sample-service-catalog-product/productX/template.yml +++ b/samples/sample-service-catalog-product/productX/template.yml @@ -1,5 +1,5 @@ -# // Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. -# // SPDX-License-Identifier: Apache-2.0 +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 AWSTemplateFormatVersion: '2010-09-09' Description: ADF CloudFormation Sample Service Catalog Product diff --git a/samples/sample-service-catalog-product/template.yml b/samples/sample-service-catalog-product/template.yml index 741bcbaa8..2d3836706 100644 --- a/samples/sample-service-catalog-product/template.yml +++ b/samples/sample-service-catalog-product/template.yml @@ -1,5 +1,5 @@ -# // Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. -# // SPDX-License-Identifier: Apache-2.0 +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 AWSTemplateFormatVersion: "2010-09-09" Description: ADF CloudFormation Sample Template (Service Catalog Product) diff --git a/samples/sample-terraform/buildspec.yml b/samples/sample-terraform/buildspec.yml index 81fb6aa8b..c7be30f9b 100644 --- a/samples/sample-terraform/buildspec.yml +++ b/samples/sample-terraform/buildspec.yml @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + version: 0.2 env: diff --git a/samples/sample-terraform/params/global.yml b/samples/sample-terraform/params/global.yml index 3243d2830..58c190cfa 100644 --- a/samples/sample-terraform/params/global.yml +++ b/samples/sample-terraform/params/global.yml @@ -1,2 +1,5 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + Parameters: ProjectName: "sample-terraform" diff --git a/samples/sample-terraform/tf/backend.tf b/samples/sample-terraform/tf/backend.tf index 12c0dbe52..96e4287f3 100644 --- a/samples/sample-terraform/tf/backend.tf +++ b/samples/sample-terraform/tf/backend.tf @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + terraform { backend "s3" {} } diff --git a/samples/sample-terraform/tf/main.tf b/samples/sample-terraform/tf/main.tf index dc4c6d66b..33cc22072 100644 --- a/samples/sample-terraform/tf/main.tf +++ b/samples/sample-terraform/tf/main.tf @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + data "aws_partition" "current" {} terraform { diff --git a/samples/sample-terraform/tf/s3.tf b/samples/sample-terraform/tf/s3.tf index 68730ecb1..cf620317b 100644 --- a/samples/sample-terraform/tf/s3.tf +++ b/samples/sample-terraform/tf/s3.tf @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + resource "aws_s3_bucket" "s3" { bucket = "my-tf-test-bucket-${var.TARGET_REGION}-${var.TARGET_ACCOUNT_ID}" acl = "private" diff --git a/samples/sample-terraform/tf/variables.tf b/samples/sample-terraform/tf/variables.tf index c2c60d78e..c9d85614d 100644 --- a/samples/sample-terraform/tf/variables.tf +++ b/samples/sample-terraform/tf/variables.tf @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + variable "TARGET_ACCOUNT_ID" { type = string } diff --git a/samples/sample-terraform/tf_apply.yml b/samples/sample-terraform/tf_apply.yml index ba76c5bab..5fce1c595 100644 --- a/samples/sample-terraform/tf_apply.yml +++ b/samples/sample-terraform/tf_apply.yml @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + version: 0.2 env: diff --git a/samples/sample-terraform/tf_destroy.yml b/samples/sample-terraform/tf_destroy.yml index 08f1d4a58..d2352753f 100644 --- a/samples/sample-terraform/tf_destroy.yml +++ b/samples/sample-terraform/tf_destroy.yml @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + version: 0.2 env: diff --git a/samples/sample-terraform/tf_plan.yml b/samples/sample-terraform/tf_plan.yml index d492eb111..b84e9e98e 100644 --- a/samples/sample-terraform/tf_plan.yml +++ b/samples/sample-terraform/tf_plan.yml @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + version: 0.2 env: diff --git a/samples/sample-terraform/tf_scan.yml b/samples/sample-terraform/tf_scan.yml index 94b69c36a..dc2838f57 100644 --- a/samples/sample-terraform/tf_scan.yml +++ b/samples/sample-terraform/tf_scan.yml @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + version: 0.2 phases: diff --git a/samples/sample-vpc/buildspec.yml b/samples/sample-vpc/buildspec.yml index 6a1fec8e0..ded1b65a2 100644 --- a/samples/sample-vpc/buildspec.yml +++ b/samples/sample-vpc/buildspec.yml @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + version: 0.2 phases: diff --git a/samples/sample-vpc/params/banking-production.yml b/samples/sample-vpc/params/banking-production.yml index 4dc7da870..751758b2b 100644 --- a/samples/sample-vpc/params/banking-production.yml +++ b/samples/sample-vpc/params/banking-production.yml @@ -1,2 +1,5 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + Parameters: Environment: production diff --git a/samples/sample-vpc/params/global.yml b/samples/sample-vpc/params/global.yml index 9d8e4432c..8c77df36f 100644 --- a/samples/sample-vpc/params/global.yml +++ b/samples/sample-vpc/params/global.yml @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + Parameters: CostCenter: '123' Environment: testing diff --git a/samples/sample-vpc/template.yml b/samples/sample-vpc/template.yml index f9fe737c4..3bbf0ba77 100644 --- a/samples/sample-vpc/template.yml +++ b/samples/sample-vpc/template.yml @@ -1,5 +1,5 @@ -# // Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. -# // SPDX-License-Identifier: Apache-2.0 +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 AWSTemplateFormatVersion: '2010-09-09' Description: ADF CloudFormation Sample Template (VPC) - Designed to be launched into a region with 3 availability zones diff --git a/src/lambda_codebase/__init__.py b/src/lambda_codebase/__init__.py index b0f3b0cc9..a1d0ef7b3 100644 --- a/src/lambda_codebase/__init__.py +++ b/src/lambda_codebase/__init__.py @@ -1,2 +1,2 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 diff --git a/src/lambda_codebase/account/handler.py b/src/lambda_codebase/account/handler.py index 4dfb47b13..c75d08d2f 100644 --- a/src/lambda_codebase/account/handler.py +++ b/src/lambda_codebase/account/handler.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/account/main.py b/src/lambda_codebase/account/main.py index cc855d58a..2edfc93eb 100644 --- a/src/lambda_codebase/account/main.py +++ b/src/lambda_codebase/account/main.py @@ -1,5 +1,6 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 + """ The Account main that is called when ADF is installed to initially create the deployment account if required. diff --git a/src/lambda_codebase/account/pytest.ini b/src/lambda_codebase/account/pytest.ini index 5ee647716..ac18618ea 100644 --- a/src/lambda_codebase/account/pytest.ini +++ b/src/lambda_codebase/account/pytest.ini @@ -1,2 +1,5 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: MIT-0 + [pytest] testpaths = tests diff --git a/src/lambda_codebase/account/tests/__init__.py b/src/lambda_codebase/account/tests/__init__.py index c3f81ad2b..014883ae9 100644 --- a/src/lambda_codebase/account/tests/__init__.py +++ b/src/lambda_codebase/account/tests/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 # pylint: skip-file diff --git a/src/lambda_codebase/account/tests/test_main.py b/src/lambda_codebase/account/tests/test_main.py index fb5e83821..3ee29eadc 100644 --- a/src/lambda_codebase/account/tests/test_main.py +++ b/src/lambda_codebase/account/tests/test_main.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 # pylint: skip-file diff --git a/src/lambda_codebase/account_bootstrap.py b/src/lambda_codebase/account_bootstrap.py index a7a610552..54e212d1d 100644 --- a/src/lambda_codebase/account_bootstrap.py +++ b/src/lambda_codebase/account_bootstrap.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/account_processing/__init__.py b/src/lambda_codebase/account_processing/__init__.py index e69de29bb..014883ae9 100644 --- a/src/lambda_codebase/account_processing/__init__.py +++ b/src/lambda_codebase/account_processing/__init__.py @@ -0,0 +1,4 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: MIT-0 + +# pylint: skip-file diff --git a/src/lambda_codebase/account_processing/configure_account_alias.py b/src/lambda_codebase/account_processing/configure_account_alias.py index 2a6e8a272..f24dcbc69 100644 --- a/src/lambda_codebase/account_processing/configure_account_alias.py +++ b/src/lambda_codebase/account_processing/configure_account_alias.py @@ -1,4 +1,4 @@ -# Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/account_processing/configure_account_ou.py b/src/lambda_codebase/account_processing/configure_account_ou.py index ac4bd7f47..31a127856 100644 --- a/src/lambda_codebase/account_processing/configure_account_ou.py +++ b/src/lambda_codebase/account_processing/configure_account_ou.py @@ -1,4 +1,4 @@ -# Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/account_processing/configure_account_regions.py b/src/lambda_codebase/account_processing/configure_account_regions.py index caa0d1f89..d81a5793d 100644 --- a/src/lambda_codebase/account_processing/configure_account_regions.py +++ b/src/lambda_codebase/account_processing/configure_account_regions.py @@ -1,4 +1,4 @@ -# Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/account_processing/configure_account_tags.py b/src/lambda_codebase/account_processing/configure_account_tags.py index d995c4a0f..3b0c6308e 100644 --- a/src/lambda_codebase/account_processing/configure_account_tags.py +++ b/src/lambda_codebase/account_processing/configure_account_tags.py @@ -1,4 +1,4 @@ -# Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/account_processing/create_account.py b/src/lambda_codebase/account_processing/create_account.py index 25335a916..ab4368228 100644 --- a/src/lambda_codebase/account_processing/create_account.py +++ b/src/lambda_codebase/account_processing/create_account.py @@ -1,4 +1,4 @@ -# Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/account_processing/delete_default_vpc.py b/src/lambda_codebase/account_processing/delete_default_vpc.py index 877c44ef5..9cd3309a5 100644 --- a/src/lambda_codebase/account_processing/delete_default_vpc.py +++ b/src/lambda_codebase/account_processing/delete_default_vpc.py @@ -1,4 +1,4 @@ -# Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/account_processing/get_account_regions.py b/src/lambda_codebase/account_processing/get_account_regions.py index ec099c074..76487153a 100644 --- a/src/lambda_codebase/account_processing/get_account_regions.py +++ b/src/lambda_codebase/account_processing/get_account_regions.py @@ -1,4 +1,4 @@ -# Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/account_processing/process_account_files.py b/src/lambda_codebase/account_processing/process_account_files.py index 25f60a127..32996fce3 100644 --- a/src/lambda_codebase/account_processing/process_account_files.py +++ b/src/lambda_codebase/account_processing/process_account_files.py @@ -1,4 +1,4 @@ -# Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/account_processing/pytest.ini b/src/lambda_codebase/account_processing/pytest.ini index 77e1fbea9..821ea5cec 100644 --- a/src/lambda_codebase/account_processing/pytest.ini +++ b/src/lambda_codebase/account_processing/pytest.ini @@ -1,7 +1,9 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: MIT-0 + [pytest] testpaths = tests addopts = --cov=./src/lambda_codebase/account_processing/ --cov-fail-under=50 --cov-report term [coverage:run] omit = tests/ - diff --git a/src/lambda_codebase/account_processing/register_account_for_support.py b/src/lambda_codebase/account_processing/register_account_for_support.py index 3b251984e..77921181f 100644 --- a/src/lambda_codebase/account_processing/register_account_for_support.py +++ b/src/lambda_codebase/account_processing/register_account_for_support.py @@ -1,4 +1,4 @@ -# Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/account_processing/tests/__init__.py b/src/lambda_codebase/account_processing/tests/__init__.py index e69de29bb..014883ae9 100644 --- a/src/lambda_codebase/account_processing/tests/__init__.py +++ b/src/lambda_codebase/account_processing/tests/__init__.py @@ -0,0 +1,4 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: MIT-0 + +# pylint: skip-file diff --git a/src/lambda_codebase/account_processing/tests/test_account_alias.py b/src/lambda_codebase/account_processing/tests/test_account_alias.py index 3ee0a988d..fba971772 100644 --- a/src/lambda_codebase/account_processing/tests/test_account_alias.py +++ b/src/lambda_codebase/account_processing/tests/test_account_alias.py @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: MIT-0 + """ Tests the account alias configuration lambda """ diff --git a/src/lambda_codebase/account_processing/tests/test_account_creation.py b/src/lambda_codebase/account_processing/tests/test_account_creation.py index 19ec0c47a..3204e3165 100644 --- a/src/lambda_codebase/account_processing/tests/test_account_creation.py +++ b/src/lambda_codebase/account_processing/tests/test_account_creation.py @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: MIT-0 + """ Tests the account creation lambda """ diff --git a/src/lambda_codebase/account_processing/tests/test_account_file_processing.py b/src/lambda_codebase/account_processing/tests/test_account_file_processing.py index 7e7e9ced8..a35aa3daa 100644 --- a/src/lambda_codebase/account_processing/tests/test_account_file_processing.py +++ b/src/lambda_codebase/account_processing/tests/test_account_file_processing.py @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: MIT-0 + """ Tests the account file processing lambda """ diff --git a/src/lambda_codebase/account_processing/tests/test_account_tags.py b/src/lambda_codebase/account_processing/tests/test_account_tags.py index ba7b8327f..1700d6e6d 100644 --- a/src/lambda_codebase/account_processing/tests/test_account_tags.py +++ b/src/lambda_codebase/account_processing/tests/test_account_tags.py @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: MIT-0 + """ Tests the account tag configuration lambda """ diff --git a/src/lambda_codebase/account_processing/tests/test_configure_account_regions.py b/src/lambda_codebase/account_processing/tests/test_configure_account_regions.py index 1d3b8f0ff..0896f120b 100644 --- a/src/lambda_codebase/account_processing/tests/test_configure_account_regions.py +++ b/src/lambda_codebase/account_processing/tests/test_configure_account_regions.py @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: MIT-0 + """ Tests the account alias configuration lambda """ diff --git a/src/lambda_codebase/account_processing/tests/test_get_default_regions.py b/src/lambda_codebase/account_processing/tests/test_get_default_regions.py index aba7cc319..ed8ec5744 100644 --- a/src/lambda_codebase/account_processing/tests/test_get_default_regions.py +++ b/src/lambda_codebase/account_processing/tests/test_get_default_regions.py @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: MIT-0 + """ Tests the account tag configuration lambda """ diff --git a/src/lambda_codebase/cross_region_bucket/handler.py b/src/lambda_codebase/cross_region_bucket/handler.py index 019b6d625..636e296c0 100644 --- a/src/lambda_codebase/cross_region_bucket/handler.py +++ b/src/lambda_codebase/cross_region_bucket/handler.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/cross_region_bucket/main.py b/src/lambda_codebase/cross_region_bucket/main.py index c02f45d8c..ae1223471 100644 --- a/src/lambda_codebase/cross_region_bucket/main.py +++ b/src/lambda_codebase/cross_region_bucket/main.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/deployment_account_config.py b/src/lambda_codebase/deployment_account_config.py index 61b32ca3c..4da722330 100644 --- a/src/lambda_codebase/deployment_account_config.py +++ b/src/lambda_codebase/deployment_account_config.py @@ -1,8 +1,8 @@ -# pylint: skip-file - -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 +# pylint: skip-file + """ Executes as part of the bootstrap process when the Deployment Account is initially created and moved into its OU. This step creates a AWS diff --git a/src/lambda_codebase/determine_event.py b/src/lambda_codebase/determine_event.py index 7879584a6..93beada6b 100644 --- a/src/lambda_codebase/determine_event.py +++ b/src/lambda_codebase/determine_event.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/event.py b/src/lambda_codebase/event.py index c16e323f5..1bd49f03a 100644 --- a/src/lambda_codebase/event.py +++ b/src/lambda_codebase/event.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/generic_account_config.py b/src/lambda_codebase/generic_account_config.py index d33e8548e..fdb0c8cb2 100644 --- a/src/lambda_codebase/generic_account_config.py +++ b/src/lambda_codebase/generic_account_config.py @@ -1,7 +1,6 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 - """ Executes for any account that has been Bootstrapped other than the Deployment Account. diff --git a/src/lambda_codebase/initial_commit/adf.yml.j2 b/src/lambda_codebase/initial_commit/adf.yml.j2 index c034bee11..c649d3f8d 100644 --- a/src/lambda_codebase/initial_commit/adf.yml.j2 +++ b/src/lambda_codebase/initial_commit/adf.yml.j2 @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: MIT-0 + accounts: - account_full_name: {{ DeploymentAccountFullName }} organizational_unit_path: /deployment diff --git a/src/lambda_codebase/initial_commit/adfconfig.yml.j2 b/src/lambda_codebase/initial_commit/adfconfig.yml.j2 index 87b467d3c..4f7d8b15a 100644 --- a/src/lambda_codebase/initial_commit/adfconfig.yml.j2 +++ b/src/lambda_codebase/initial_commit/adfconfig.yml.j2 @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: MIT-0 + roles: cross-account-access: {{ CrossAccountAccessRole }} # ^ The role by ADF to assume cross account access @@ -35,4 +38,3 @@ config: #org: # Optional: Use this variable to define the AWS Organization in case of staged multi-organization ADF deployments #stage: dev - diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/example-global-iam.yml b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/example-global-iam.yml index ae5b38415..b9cde40be 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/example-global-iam.yml +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/example-global-iam.yml @@ -1,5 +1,6 @@ -# // Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. -# // SPDX-License-Identifier: Apache-2.0 +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + AWSTemplateFormatVersion: "2010-09-09" Description: ADF CloudFormation Template (Global) for IAM in the Deployment Account diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/global.yml b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/global.yml index 9f16c5655..56bd7df2a 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/global.yml +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/global.yml @@ -1,5 +1,5 @@ -# // Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. -# // SPDX-License-Identifier: Apache-2.0 +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 AWSTemplateFormatVersion: "2010-09-09" Transform: "AWS::Serverless-2016-10-31" diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/__init__.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/__init__.py index b0f3b0cc9..014883ae9 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/__init__.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/__init__.py @@ -1,2 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 + +# pylint: skip-file diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/determine_default_branch/determine_default_branch.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/determine_default_branch/determine_default_branch.py index 39faed35d..e2b846cf1 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/determine_default_branch/determine_default_branch.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/determine_default_branch/determine_default_branch.py @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: MIT-0 + """ The Determine Default Branch Logic that is called when ADF is installed or updated to determine the default branch for the given repository. diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/determine_default_branch/handler.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/determine_default_branch/handler.py index 1f91a49cc..1f5001733 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/determine_default_branch/handler.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/determine_default_branch/handler.py @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: MIT-0 + """ The Determine Default Branch Handler that is called when ADF is installed or updated to determine the default branch for the repository. diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/determine_default_branch/pytest.ini b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/determine_default_branch/pytest.ini index 5ee647716..ac18618ea 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/determine_default_branch/pytest.ini +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/determine_default_branch/pytest.ini @@ -1,2 +1,5 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: MIT-0 + [pytest] testpaths = tests diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/determine_default_branch/tests/__init__.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/determine_default_branch/tests/__init__.py index e164948b0..b4473968c 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/determine_default_branch/tests/__init__.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/determine_default_branch/tests/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/determine_default_branch/tests/test_determine_default_branch.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/determine_default_branch/tests/test_determine_default_branch.py index b28ee44ef..49fc2a977 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/determine_default_branch/tests/test_determine_default_branch.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/determine_default_branch/tests/test_determine_default_branch.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 # pylint: skip-file diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/enable_cross_account_access.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/enable_cross_account_access.py index 394a8fb09..42e9390dc 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/enable_cross_account_access.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/enable_cross_account_access.py @@ -1,7 +1,6 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 - """ Enables the connection between the deployment account and the account that is being bootstrapped. diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/iam_cfn_deploy_role_policy.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/iam_cfn_deploy_role_policy.py index 71b00df30..2a0f596f8 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/iam_cfn_deploy_role_policy.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/iam_cfn_deploy_role_policy.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/initial_commit/handler.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/initial_commit/handler.py index e6c08969a..531b27467 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/initial_commit/handler.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/initial_commit/handler.py @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: MIT-0 + """ The Initial Commit Handler that is called when ADF is installed to commit the initial pipelines repository content. diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/initial_commit/initial_commit.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/initial_commit/initial_commit.py index b272800f8..399674c02 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/initial_commit/initial_commit.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/initial_commit/initial_commit.py @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: MIT-0 + """ The Initial Commit main that is called when ADF is installed to commit the initial pipelines repository content. diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/initial_commit/pipelines_repository/example-deployment_map.yml b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/initial_commit/pipelines_repository/example-deployment_map.yml index 3aea151a5..2dfde29df 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/initial_commit/pipelines_repository/example-deployment_map.yml +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/initial_commit/pipelines_repository/example-deployment_map.yml @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: MIT-0 + pipelines: - name: sample-iam # The name of your pipeline (by default, this will match the name of your repository) default_providers: diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/initial_commit/pytest.ini b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/initial_commit/pytest.ini index a1f7eb0aa..8207b6d1f 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/initial_commit/pytest.ini +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/initial_commit/pytest.ini @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: MIT-0 + [pytest] testpaths = tests norecursedirs = pipelines_repository diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/initial_commit/tests/__init__.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/initial_commit/tests/__init__.py index e164948b0..b4473968c 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/initial_commit/tests/__init__.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/initial_commit/tests/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/initial_commit/tests/test_initial_commit.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/initial_commit/tests/test_initial_commit.py index e92766901..aaa63b61e 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/initial_commit/tests/test_initial_commit.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/initial_commit/tests/test_initial_commit.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 # pylint: skip-file diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/pipeline_management/create_or_update_rule.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/pipeline_management/create_or_update_rule.py index 91059b6d9..15865ed89 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/pipeline_management/create_or_update_rule.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/pipeline_management/create_or_update_rule.py @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: MIT-0 + """ Pipeline Management Lambda Function Creates or Updates an Event Rule for forwarding events diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/pipeline_management/create_repository.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/pipeline_management/create_repository.py index ed4bba604..b004bcc9d 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/pipeline_management/create_repository.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/pipeline_management/create_repository.py @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: MIT-0 + """ Pipeline Management Lambda Function Creates or Updates a CodeCommit Repository diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/pipeline_management/generate_pipeline_inputs.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/pipeline_management/generate_pipeline_inputs.py index d9dab9926..17407af0c 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/pipeline_management/generate_pipeline_inputs.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/pipeline_management/generate_pipeline_inputs.py @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: MIT-0 + """ Pipeline Management Lambda Function Generates Pipeline Inputs diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/pipeline_management/identify_out_of_date_pipelines.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/pipeline_management/identify_out_of_date_pipelines.py index b13fea98d..54c7d111f 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/pipeline_management/identify_out_of_date_pipelines.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/pipeline_management/identify_out_of_date_pipelines.py @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: MIT-0 + """ Pipeline Management Lambda Function Compares pipeline definitions in S3 to the definitions stored in SSM Param Store. diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/pipeline_management/process_deployment_map.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/pipeline_management/process_deployment_map.py index 7cdf94251..53106c61c 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/pipeline_management/process_deployment_map.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/pipeline_management/process_deployment_map.py @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: MIT-0 + """ Pipeline Management Lambda Function Triggered by new Deployment Maps in S3 Bucket. diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/pipeline_management/store_pipeline_definition.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/pipeline_management/store_pipeline_definition.py index 232007868..2ed481d17 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/pipeline_management/store_pipeline_definition.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/pipeline_management/store_pipeline_definition.py @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: MIT-0 + """ Pipeline Management Lambda Function Stores pipeline input from prior function to S3. diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/pipeline_management/templates/codecommit.yml b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/pipeline_management/templates/codecommit.yml index 8de489a9a..6842f6968 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/pipeline_management/templates/codecommit.yml +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/pipeline_management/templates/codecommit.yml @@ -1,5 +1,5 @@ -# // Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. -# // SPDX-License-Identifier: Apache-2.0 +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 Parameters: RepoName: diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/pipeline_management/templates/events.yml b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/pipeline_management/templates/events.yml index b4f2f18f2..a03fde62b 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/pipeline_management/templates/events.yml +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/pipeline_management/templates/events.yml @@ -1,5 +1,5 @@ -# // Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. -# // SPDX-License-Identifier: Apache-2.0 +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 Parameters: DeploymentAccountId: diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/pytest.ini b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/pytest.ini index 190a5b381..8387b3960 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/pytest.ini +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/pytest.ini @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: MIT-0 + [pytest] testpaths = tests norecursedirs = initial_commit determine_default_branch diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/slack.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/slack.py index 113ce3b34..bb5563fb0 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/slack.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/slack.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/tests/__init__.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/tests/__init__.py index c3f81ad2b..014883ae9 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/tests/__init__.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/tests/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 # pylint: skip-file diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/tests/stubs/__init__.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/tests/stubs/__init__.py index c3f81ad2b..014883ae9 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/tests/stubs/__init__.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/tests/stubs/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 # pylint: skip-file diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/tests/stubs/slack.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/tests/stubs/slack.py index 499f4a3ae..0b131fffc 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/tests/stubs/slack.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/tests/stubs/slack.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 # pylint: skip-file diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/tests/stubs/stub_iam.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/tests/stubs/stub_iam.py index e4fe578d9..f7f994397 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/tests/stubs/stub_iam.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/tests/stubs/stub_iam.py @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 # pylint: skip-file diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/tests/test_iam_cfn_deploy_role_policy.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/tests/test_iam_cfn_deploy_role_policy.py index fd399e15c..be5c1eb66 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/tests/test_iam_cfn_deploy_role_policy.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/tests/test_iam_cfn_deploy_role_policy.py @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 # pylint: skip-file diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/tests/test_slack.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/tests/test_slack.py index b2156d9b4..60c44b81d 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/tests/test_slack.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/tests/test_slack.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 # pylint: skip-file diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/update_pipelines.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/update_pipelines.py index a5f236c47..d2039f896 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/update_pipelines.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/update_pipelines.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/pipeline_management.yml b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/pipeline_management.yml index 0bf5f1d68..86769c7fd 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/pipeline_management.yml +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/pipeline_management.yml @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + AWSTemplateFormatVersion: '2010-09-09' Transform: 'AWS::Serverless-2016-10-31' Description: ADF CloudFormation Stack for processing deployment maps. diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/regional.yml b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/regional.yml index 3b7bb0e77..e6542a62f 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/regional.yml +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/regional.yml @@ -1,5 +1,5 @@ -# // Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. -# // SPDX-License-Identifier: Apache-2.0 +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 AWSTemplateFormatVersion: "2010-09-09" Description: ADF CloudFormation Template (Regional) for Deployment Account diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/example-global-iam.yml b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/example-global-iam.yml index 44499dd09..f252b240f 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/example-global-iam.yml +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/example-global-iam.yml @@ -1,5 +1,5 @@ -# // Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. -# // SPDX-License-Identifier: Apache-2.0 +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 AWSTemplateFormatVersion: "2010-09-09" Description: ADF CloudFormation Template (Global) for IAM in the Target Accounts diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/global.yml b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/global.yml index bac3f6ea5..d94667439 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/global.yml +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/global.yml @@ -1,5 +1,5 @@ -# // Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. -# // SPDX-License-Identifier: Apache-2.0 +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 AWSTemplateFormatVersion: "2010-09-09" Description: >- diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/__init__.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/__init__.py index 61d3bb7f5..9342a95d3 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/__init__.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/config.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/config.py index 99d3e33a5..9af699045 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/config.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/config.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """Config module used as part of bootstrap_repository diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/global.yml b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/global.yml index 426e6a473..204b1ffe0 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/global.yml +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/global.yml @@ -1,5 +1,5 @@ -# // Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. -# // SPDX-License-Identifier: Apache-2.0 +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 AWSTemplateFormatVersion: "2010-09-09" Description: >- diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/main.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/main.py index c4ce3777f..713300c82 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/main.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/main.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/organization_policy.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/organization_policy.py index 55e4dd167..bab013907 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/organization_policy.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/organization_policy.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/provisioner/src/__init__.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/provisioner/src/__init__.py index 8f1a9c905..e3e81189d 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/provisioner/src/__init__.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/provisioner/src/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """__init__ diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/provisioner/src/account.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/provisioner/src/account.py index 8c031b8f3..a6dcbce8d 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/provisioner/src/account.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/provisioner/src/account.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/provisioner/src/configparser.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/provisioner/src/configparser.py index b363c1f8c..e52561f43 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/provisioner/src/configparser.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/provisioner/src/configparser.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/provisioner/src/support.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/provisioner/src/support.py index ea025dd48..8fa29643a 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/provisioner/src/support.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/provisioner/src/support.py @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: MIT-0 + """Support module used throughout the ADF """ from enum import Enum diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/provisioner/src/vpc.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/provisioner/src/vpc.py index 7e98775c1..e707c725a 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/provisioner/src/vpc.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/provisioner/src/vpc.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/__init__.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/__init__.py index b0f3b0cc9..a1d0ef7b3 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/__init__.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/__init__.py @@ -1,2 +1,2 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/base_resolver.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/base_resolver.py index f7fa54c26..7f37f431b 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/base_resolver.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/base_resolver.py @@ -1,4 +1,4 @@ -# Copyright 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/__init__.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/__init__.py index b0f3b0cc9..a1d0ef7b3 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/__init__.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/__init__.py @@ -1,2 +1,2 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/__init__.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/__init__.py index b0f3b0cc9..a1d0ef7b3 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/__init__.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/__init__.py @@ -1,2 +1,2 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/adf_chatbot.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/adf_chatbot.py index a7c0cc839..d5234cf1d 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/adf_chatbot.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/adf_chatbot.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """Construct related to Notifications Codepipeline Input diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/adf_cloudformation.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/adf_cloudformation.py index 2aa73a1e7..1cf13dcc6 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/adf_cloudformation.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/adf_cloudformation.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """Construct related to CloudFormation Input diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/adf_codebuild.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/adf_codebuild.py index 05a0975fa..68548bf80 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/adf_codebuild.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/adf_codebuild.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """Construct related to CodeBuild Input diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/adf_codecommit.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/adf_codecommit.py index b82820e0f..228e61a4d 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/adf_codecommit.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/adf_codecommit.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """Construct related to CodeCommit Input diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/adf_codepipeline.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/adf_codepipeline.py index 530a7ef0c..5b345bca2 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/adf_codepipeline.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/adf_codepipeline.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """Construct related to CodePipeline Action Input diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/adf_codestar.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/adf_codestar.py index bad0a618d..f7bbc1cab 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/adf_codestar.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/adf_codestar.py @@ -1,7 +1,7 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 -"""Construct related to CodeStarConnection Codepipeline Input +"""Construct related to CodeStarConnection CodePipeline Input """ import os diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/adf_events.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/adf_events.py index d57ed3613..7d9a24b85 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/adf_events.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/adf_events.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """Construct related to Events Input diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/adf_github.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/adf_github.py index 51493a2ad..86b79ed2e 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/adf_github.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/adf_github.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """Construct related to Github Codepipeline Input diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/adf_jenkins.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/adf_jenkins.py index fe6c680a4..6cd41595d 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/adf_jenkins.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/adf_jenkins.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """Construct related to Jenkins Codepipeline Input diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/adf_notifications.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/adf_notifications.py index 849a352b6..405295349 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/adf_notifications.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/adf_notifications.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """Construct related to Notifications Codepipeline Input diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/adf_s3.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/adf_s3.py index 28571fd15..f65454456 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/adf_s3.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/adf_s3.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """Construct related to S3 Codepipeline Input diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/tests/__init__.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/tests/__init__.py index 07b802c79..1d92ed61a 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/tests/__init__.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/tests/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/tests/adf_codepipeline_test_constants.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/tests/adf_codepipeline_test_constants.py index 3e001c199..c067113d2 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/tests/adf_codepipeline_test_constants.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/tests/adf_codepipeline_test_constants.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 # pylint: skip-file @@ -15,4 +15,3 @@ }, 'name': 'name', } - diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/tests/test_adf_codebuild_buildspec.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/tests/test_adf_codebuild_buildspec.py index 50860bf21..ddd1da9ea 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/tests/test_adf_codebuild_buildspec.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/tests/test_adf_codebuild_buildspec.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 # pylint: skip-file diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/tests/test_adf_codebuild_determine_build_image.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/tests/test_adf_codebuild_determine_build_image.py index 80007b5e5..564468588 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/tests/test_adf_codebuild_determine_build_image.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/tests/test_adf_codebuild_determine_build_image.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 # pylint: skip-file diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/tests/test_adf_codepipeline_generate.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/tests/test_adf_codepipeline_generate.py index c59eb3cb2..6cc9868df 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/tests/test_adf_codepipeline_generate.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/tests/test_adf_codepipeline_generate.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 # pylint: skip-file diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/tests/test_adf_codepipeline_input_artifacts.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/tests/test_adf_codepipeline_input_artifacts.py index 28b314da2..a3b9938f0 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/tests/test_adf_codepipeline_input_artifacts.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/tests/test_adf_codepipeline_input_artifacts.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 # pylint: skip-file diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/tests/test_adf_codepipeline_output_artifacts.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/tests/test_adf_codepipeline_output_artifacts.py index 2d1842e46..323d89bb2 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/tests/test_adf_codepipeline_output_artifacts.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/tests/test_adf_codepipeline_output_artifacts.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 # pylint: skip-file diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_stacks/__init__.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_stacks/__init__.py index e69de29bb..b0f3b0cc9 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_stacks/__init__.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_stacks/__init__.py @@ -0,0 +1,2 @@ +# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: MIT-0 diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_stacks/tests/__init__.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_stacks/tests/__init__.py index e69de29bb..b0f3b0cc9 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_stacks/tests/__init__.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_stacks/tests/__init__.py @@ -0,0 +1,2 @@ +# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: MIT-0 diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/clean_pipelines.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/clean_pipelines.py index 22b0e8ca0..c8d590414 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/clean_pipelines.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/clean_pipelines.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/execute_pipeline_stacks.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/execute_pipeline_stacks.py index 6f55e9f76..0a3d7e5a6 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/execute_pipeline_stacks.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/execute_pipeline_stacks.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/generate_pipeline_stacks.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/generate_pipeline_stacks.py index 9c89e4f7b..f8be9b66e 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/generate_pipeline_stacks.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/generate_pipeline_stacks.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/pytest.ini b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/pytest.ini index 8f8453628..7b81dc156 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/pytest.ini +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/pytest.ini @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: MIT-0 + [pytest] testpaths = cdk_constructs/tests diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/generate_params.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/generate_params.py index e9d858845..106f7b25e 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/generate_params.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/generate_params.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/helpers/__init__.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/helpers/__init__.py index b0f3b0cc9..a1d0ef7b3 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/helpers/__init__.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/helpers/__init__.py @@ -1,2 +1,2 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/helpers/describe_codepipeline_trigger.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/helpers/describe_codepipeline_trigger.py index bdc82cbdb..e4a8c79c4 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/helpers/describe_codepipeline_trigger.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/helpers/describe_codepipeline_trigger.py @@ -1,5 +1,6 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 + """ Describe CodePipeline trigger. diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/helpers/package_transform.sh b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/helpers/package_transform.sh index c325be39e..1e5a50d30 100755 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/helpers/package_transform.sh +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/helpers/package_transform.sh @@ -1,5 +1,8 @@ #!/usr/bin/env bash -# + +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: MIT-0 + # This script will package all source code and send it to an S3 bucket in each region # where the lambda needs to be deployed to. # diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/helpers/pytest.ini b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/helpers/pytest.ini index 015e8596c..7f245564d 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/helpers/pytest.ini +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/helpers/pytest.ini @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: MIT-0 + [pytest] testpaths = tests norecursedirs = terraform diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/helpers/retrieve_organization_accounts.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/helpers/retrieve_organization_accounts.py index e96c7aec1..4c9db8780 100755 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/helpers/retrieve_organization_accounts.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/helpers/retrieve_organization_accounts.py @@ -1,6 +1,9 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: MIT-0 + """ retrieve_organization_accounts.py diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/helpers/sts.sh b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/helpers/sts.sh index db04f6f67..15431fa9c 100755 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/helpers/sts.sh +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/helpers/sts.sh @@ -1,5 +1,8 @@ #!/usr/bin/env bash +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: MIT-0 + if [ -z "$AWS_PARTITION" ]; then AWS_PARTITION="aws" fi diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/helpers/sync_to_s3.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/helpers/sync_to_s3.py index 750711158..76259a024 100755 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/helpers/sync_to_s3.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/helpers/sync_to_s3.py @@ -1,5 +1,6 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 + """ Sync files to an S3 Bucket. diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/helpers/terraform/adf_terraform.sh b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/helpers/terraform/adf_terraform.sh index d9635ab73..5584e129e 100755 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/helpers/terraform/adf_terraform.sh +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/helpers/terraform/adf_terraform.sh @@ -1,4 +1,8 @@ #!/usr/bin/env bash + +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: MIT-0 + PATH=$PATH:$(pwd) export PATH CURRENT=$(pwd) diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/helpers/terraform/get_accounts.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/helpers/terraform/get_accounts.py index 5d6fd2376..369253aca 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/helpers/terraform/get_accounts.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/helpers/terraform/get_accounts.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/helpers/terraform/install_terraform.sh b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/helpers/terraform/install_terraform.sh index 2715eec71..c356484e6 100755 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/helpers/terraform/install_terraform.sh +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/helpers/terraform/install_terraform.sh @@ -1,4 +1,8 @@ #!/usr/bin/env bash + +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: MIT-0 + set -e apt-get install --assume-yes jq diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/helpers/tests/__init__.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/helpers/tests/__init__.py index e164948b0..b4473968c 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/helpers/tests/__init__.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/helpers/tests/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/helpers/tests/test_sync_to_s3.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/helpers/tests/test_sync_to_s3.py index e1b9a6813..d36d0e261 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/helpers/tests/test_sync_to_s3.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/helpers/tests/test_sync_to_s3.py @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: MIT-0 + import os from typing import Mapping from pathlib import Path diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/pytest.ini b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/pytest.ini index 68298b1c8..e0c0e9d56 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/pytest.ini +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/pytest.ini @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: MIT-0 + [pytest] testpaths = tests norecursedirs = python cdk helpers diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/__init__.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/__init__.py index b0f3b0cc9..a1d0ef7b3 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/__init__.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/__init__.py @@ -1,2 +1,2 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/cache.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/cache.py index b6f0acd5f..f5753d9f8 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/cache.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/cache.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/cloudformation.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/cloudformation.py index 39d466838..53e1f9dda 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/cloudformation.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/cloudformation.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """CloudFormation module used throughout the ADF diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/cloudwatch.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/cloudwatch.py index 57a228e63..47ff44ae0 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/cloudwatch.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/cloudwatch.py @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: MIT-0 + """ Standardized class for pushing CloudWatch metric data to a service within the ADF Namespace """ diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/codepipeline.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/codepipeline.py index 83316c93e..e20eb6b46 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/codepipeline.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/codepipeline.py @@ -1,5 +1,4 @@ - -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """CodePipeline module used throughout the ADF diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/deployment_map.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/deployment_map.py index aee2077a8..72c147f04 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/deployment_map.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/deployment_map.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/errors.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/errors.py index 4b9467f05..4d11bf6ba 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/errors.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/errors.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/list_utils.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/list_utils.py index 88d0ed81d..735254000 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/list_utils.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/list_utils.py @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/logger.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/logger.py index a83774d59..fcc446cb3 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/logger.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/logger.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """Primary Logging Configuration Function diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/organizations.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/organizations.py index f3d6907fc..c6afb6d20 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/organizations.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/organizations.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/paginator.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/paginator.py index 910ebd62c..bb02a7c8c 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/paginator.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/paginator.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/parameter_store.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/parameter_store.py index 690656dbf..995c65a4f 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/parameter_store.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/parameter_store.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """Parameter Store module used throughout the ADF diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/partition.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/partition.py index d1bb2a0cb..30050db40 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/partition.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/partition.py @@ -1,5 +1,6 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 + """Partition. A partition is a group of AWS Regions. This module provides a helper function diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/pipeline.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/pipeline.py index 46d5daa6e..8f85e7893 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/pipeline.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/pipeline.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/pytest.ini b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/pytest.ini index 5ee647716..ac18618ea 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/pytest.ini +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/pytest.ini @@ -1,2 +1,5 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: MIT-0 + [pytest] testpaths = tests diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/repo.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/repo.py index cb188d6f0..f2ce6cbec 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/repo.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/repo.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/rule.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/rule.py index 7fd419d3d..92f616f02 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/rule.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/rule.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/s3.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/s3.py index 0dc264739..805501a3a 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/s3.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/s3.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/schema_validation.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/schema_validation.py index c78209c88..4682f0aab 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/schema_validation.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/schema_validation.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/stepfunctions.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/stepfunctions.py index 90cd3d1ee..45d23f1ca 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/stepfunctions.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/stepfunctions.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/sts.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/sts.py index 0337eba71..03ce5f4f8 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/sts.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/sts.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """STS module used throughout the ADF diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/target.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/target.py index 303fc2bda..7994bbf75 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/target.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/target.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/__init__.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/__init__.py index 0e037559d..ff17ed0d6 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/__init__.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/stubs/__init__.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/stubs/__init__.py index b0f3b0cc9..a1d0ef7b3 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/stubs/__init__.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/stubs/__init__.py @@ -1,2 +1,2 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/stubs/stub_cloudformation.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/stubs/stub_cloudformation.py index d2d26db99..dce8e35f8 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/stubs/stub_cloudformation.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/stubs/stub_cloudformation.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/stubs/stub_codepipeline.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/stubs/stub_codepipeline.py index e99c1d502..b9a4c3043 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/stubs/stub_codepipeline.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/stubs/stub_codepipeline.py @@ -1,7 +1,6 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 - """ Stubs for testing codepipeline.py """ diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/stubs/stub_deployment_map.yml b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/stubs/stub_deployment_map.yml index ab0d69d0c..60935a07b 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/stubs/stub_deployment_map.yml +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/stubs/stub_deployment_map.yml @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: MIT-0 + pipelines: - name: sample-iam # The name of your pipeline (by default, this will match the name of your repository) default_providers: diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/stubs/stub_event.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/stubs/stub_event.py index 87f2bb7ac..5f50e8a2d 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/stubs/stub_event.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/stubs/stub_event.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/stubs/stub_kms.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/stubs/stub_kms.py index e6684549d..e121939be 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/stubs/stub_kms.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/stubs/stub_kms.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 # pylint: skip-file diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/stubs/stub_organizations.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/stubs/stub_organizations.py index dd7a38c2c..371941cb6 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/stubs/stub_organizations.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/stubs/stub_organizations.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/stubs/stub_parameter_store.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/stubs/stub_parameter_store.py index 559a58f8f..f61c15d64 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/stubs/stub_parameter_store.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/stubs/stub_parameter_store.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/stubs/stub_s3.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/stubs/stub_s3.py index 135b460f3..412249320 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/stubs/stub_s3.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/stubs/stub_s3.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/stubs/stub_step_functions.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/stubs/stub_step_functions.py index 6467ded72..116e03ff7 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/stubs/stub_step_functions.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/stubs/stub_step_functions.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/stubs/stub_target.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/stubs/stub_target.py index f9364a906..529d17c86 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/stubs/stub_target.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/stubs/stub_target.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 # pylint: skip-file diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/test_cache.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/test_cache.py index 18faa5839..1e8d614d4 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/test_cache.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/test_cache.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 # pylint: skip-file diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/test_cloudformation.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/test_cloudformation.py index 3a767c846..27bcf7f4a 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/test_cloudformation.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/test_cloudformation.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 # pylint: skip-file diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/test_codepipeline.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/test_codepipeline.py index 91a2c2134..b3bb7f6fd 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/test_codepipeline.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/test_codepipeline.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 # pylint: skip-file diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/test_deployment_map.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/test_deployment_map.py index 5e62ce2ba..2aac0d2a9 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/test_deployment_map.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/test_deployment_map.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 # pylint: skip-file diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/test_list_utils.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/test_list_utils.py index 1f942cea5..e9c8d3957 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/test_list_utils.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/test_list_utils.py @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 # pylint: skip-file diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/test_organizations.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/test_organizations.py index 050102377..65dc72b83 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/test_organizations.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/test_organizations.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 # pylint: skip-file diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/test_parameter_store.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/test_parameter_store.py index f8e3d277a..9fa25ef7e 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/test_parameter_store.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/test_parameter_store.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 # pylint: skip-file diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/test_partition.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/test_partition.py index 9b514a9b3..f2a42cf80 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/test_partition.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/test_partition.py @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: MIT-0 + """Tests for partition.py Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/test_pipeline.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/test_pipeline.py index 8d99173a5..f752f065b 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/test_pipeline.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/test_pipeline.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 # pylint: skip-file diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/test_s3.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/test_s3.py index ede5eb654..a017b74a7 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/test_s3.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/test_s3.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 # pylint: skip-file diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/test_schema_validation.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/test_schema_validation.py index 683122b83..4b4aeef1a 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/test_schema_validation.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/test_schema_validation.py @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: MIT-0 + """ Tests for schema validation """ diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/test_step_functions.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/test_step_functions.py index f7c85ab66..71d0ffe03 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/test_step_functions.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/test_step_functions.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 # pylint: skip-file diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/test_target.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/test_target.py index c23c8c1e7..89bee9ccb 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/test_target.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/test_target.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 # pylint: skip-file diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/thread.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/thread.py index 5bd26f98a..02e73ab7e 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/thread.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/thread.py @@ -1,7 +1,6 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 - # pylint: skip-file from threading import Thread diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/resolver.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/resolver.py index a4dcc9982..997e5b133 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/resolver.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/resolver.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/resolver_param_store.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/resolver_param_store.py index 22e966fb1..bd61d28ce 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/resolver_param_store.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/resolver_param_store.py @@ -1,4 +1,4 @@ -# Copyright 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/resolver_stack_output.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/resolver_stack_output.py index 5ceefa4f3..d82ceb803 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/resolver_stack_output.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/resolver_stack_output.py @@ -1,4 +1,4 @@ -# Copyright 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/resolver_upload.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/resolver_upload.py index 86dcba5f6..65eebee51 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/resolver_upload.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/resolver_upload.py @@ -1,4 +1,4 @@ -# Copyright 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/templates/codecommit.yml b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/templates/codecommit.yml index 8f501919c..f6b975a4d 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/templates/codecommit.yml +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/templates/codecommit.yml @@ -1,5 +1,5 @@ -# // Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. -# // SPDX-License-Identifier: Apache-2.0 +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 Parameters: RepoName: diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/templates/events.yml b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/templates/events.yml index 7032af664..06aa630e0 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/templates/events.yml +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/templates/events.yml @@ -1,5 +1,5 @@ -# // Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. -# // SPDX-License-Identifier: Apache-2.0 +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 Parameters: DeploymentAccountId: diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/tests/__init__.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/tests/__init__.py index ba34ad097..92a8497fd 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/tests/__init__.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/tests/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/tests/stubs/__init__.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/tests/stubs/__init__.py index 566bebd0c..3655638a8 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/tests/stubs/__init__.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/tests/stubs/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/tests/stubs/parameter_environment_acceptance_tag_project_a.yml b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/tests/stubs/parameter_environment_acceptance_tag_project_a.yml index 9883080a7..3fd0428b6 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/tests/stubs/parameter_environment_acceptance_tag_project_a.yml +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/tests/stubs/parameter_environment_acceptance_tag_project_a.yml @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: MIT-0 + Parameters: Environment: acceptance diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/tests/stubs/stub_cfn_global.yml b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/tests/stubs/stub_cfn_global.yml index f7a5aeedd..65b849060 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/tests/stubs/stub_cfn_global.yml +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/tests/stubs/stub_cfn_global.yml @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: MIT-0 + Parameters: Environment: "testing" MySpecialValue: "resolve:/values/some_value" diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/tests/test_generate_params.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/tests/test_generate_params.py index 4697f2854..d3ee80324 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/tests/test_generate_params.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/tests/test_generate_params.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 # pylint: skip-file diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/store_config.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/store_config.py index bd3bc7b43..6a29bbbb8 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/store_config.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/store_config.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/tests/__init__.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/tests/__init__.py index e164948b0..b4473968c 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/tests/__init__.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/tests/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/tests/stubs/stub_adfconfig.yml b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/tests/stubs/stub_adfconfig.yml index fd0479334..5a2da20ae 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/tests/stubs/stub_adfconfig.yml +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/tests/stubs/stub_adfconfig.yml @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: MIT-0 + roles: cross-account-access: some_role diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/tests/test_config.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/tests/test_config.py index 11f6f19e8..58edb2bd1 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/tests/test_config.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/tests/test_config.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 # pylint: skip-file diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/tests/test_main.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/tests/test_main.py index 18c33e1c4..839b81f3e 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/tests/test_main.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/tests/test_main.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 # pylint: skip-file diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/example-adfconfig.yml b/src/lambda_codebase/initial_commit/bootstrap_repository/example-adfconfig.yml index 62b177abd..c7c774445 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/example-adfconfig.yml +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/example-adfconfig.yml @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: MIT-0 + roles: cross-account-access: OrganizationAccountAccessRole # ^ The role by ADF to assume cross account access diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/pytest.ini b/src/lambda_codebase/initial_commit/bootstrap_repository/pytest.ini index bafa7f6ef..88cf3750c 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/pytest.ini +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/pytest.ini @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: MIT-0 + [pytest] env = ACCOUNT_ID="123456789012" diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/tox.ini b/src/lambda_codebase/initial_commit/bootstrap_repository/tox.ini index c6ab5d9f3..d3bb64611 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/tox.ini +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/tox.ini @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: MIT-0 + # tox (https://tox.readthedocs.io/) is a tool for running tests # in multiple virtualenvs. This configuration file will run the # test suite on all supported python versions. To use it, "pip install tox" diff --git a/src/lambda_codebase/initial_commit/handler.py b/src/lambda_codebase/initial_commit/handler.py index 5e639af03..a292bb2f9 100644 --- a/src/lambda_codebase/initial_commit/handler.py +++ b/src/lambda_codebase/initial_commit/handler.py @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: MIT-0 + """ The Initial Commit Handler that is called when ADF is installed to commit the initial bootstrap repository content. diff --git a/src/lambda_codebase/initial_commit/initial_commit.py b/src/lambda_codebase/initial_commit/initial_commit.py index 9cc2ad320..00df901de 100644 --- a/src/lambda_codebase/initial_commit/initial_commit.py +++ b/src/lambda_codebase/initial_commit/initial_commit.py @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: MIT-0 + """ The Initial Commit main that is called when ADF is installed to commit the initial bootstrap repository content. diff --git a/src/lambda_codebase/initial_commit/pytest.ini b/src/lambda_codebase/initial_commit/pytest.ini index fd32c132e..7c52b357a 100644 --- a/src/lambda_codebase/initial_commit/pytest.ini +++ b/src/lambda_codebase/initial_commit/pytest.ini @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: MIT-0 + [pytest] testpaths = tests norecursedirs = bootstrap_repository diff --git a/src/lambda_codebase/initial_commit/tests/__init__.py b/src/lambda_codebase/initial_commit/tests/__init__.py index e164948b0..b4473968c 100644 --- a/src/lambda_codebase/initial_commit/tests/__init__.py +++ b/src/lambda_codebase/initial_commit/tests/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/initial_commit/tests/test_initial_commit.py b/src/lambda_codebase/initial_commit/tests/test_initial_commit.py index 104b7fc75..25e7f2892 100644 --- a/src/lambda_codebase/initial_commit/tests/test_initial_commit.py +++ b/src/lambda_codebase/initial_commit/tests/test_initial_commit.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 # pylint: skip-file diff --git a/src/lambda_codebase/moved_to_root.py b/src/lambda_codebase/moved_to_root.py index 80dc7f6cc..4b3a0f8cd 100644 --- a/src/lambda_codebase/moved_to_root.py +++ b/src/lambda_codebase/moved_to_root.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/organization/handler.py b/src/lambda_codebase/organization/handler.py index a4e96fbb3..76a76c723 100644 --- a/src/lambda_codebase/organization/handler.py +++ b/src/lambda_codebase/organization/handler.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/organization/main.py b/src/lambda_codebase/organization/main.py index a02f632c2..241b6cc6d 100644 --- a/src/lambda_codebase/organization/main.py +++ b/src/lambda_codebase/organization/main.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/organization_unit/handler.py b/src/lambda_codebase/organization_unit/handler.py index 761674640..2019c557a 100644 --- a/src/lambda_codebase/organization_unit/handler.py +++ b/src/lambda_codebase/organization_unit/handler.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/organization_unit/main.py b/src/lambda_codebase/organization_unit/main.py index fdb3ce318..52bf9876d 100644 --- a/src/lambda_codebase/organization_unit/main.py +++ b/src/lambda_codebase/organization_unit/main.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/lambda_codebase/wait_until_complete.py b/src/lambda_codebase/wait_until_complete.py index 2587f9643..a957ca457 100644 --- a/src/lambda_codebase/wait_until_complete.py +++ b/src/lambda_codebase/wait_until_complete.py @@ -1,4 +1,4 @@ -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Amazon.com Inc. or its affiliates. # SPDX-License-Identifier: MIT-0 """ diff --git a/src/template.yml b/src/template.yml index fba734adf..35af1cc3d 100644 --- a/src/template.yml +++ b/src/template.yml @@ -1,5 +1,5 @@ -# // Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. -# // SPDX-License-Identifier: Apache-2.0 +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 AWSTemplateFormatVersion: "2010-09-09" Transform: "AWS::Serverless-2016-10-31" diff --git a/tox.ini b/tox.ini index 5c274c325..bfa0bf282 100644 --- a/tox.ini +++ b/tox.ini @@ -1,3 +1,6 @@ +# Copyright Amazon.com Inc. or its affiliates. +# SPDX-License-Identifier: Apache-2.0 +# # tox (https://tox.readthedocs.io/) is a tool for running tests # in multiple virtualenvs. This configuration file will run the # test suite on all supported python versions. To use it, "pip install tox"