12
12
# permissions and limitations under the License.
13
13
14
14
AWSTemplateFormatVersion: '2010-09-09'
15
- Description: '(SO0089) - customizations-for-aws-control-tower Solution. Version: v2.5.1 '
15
+ Description: '(SO0089) - customizations-for-aws-control-tower Solution. Version: v2.5.2 '
16
16
17
17
Parameters:
18
18
PipelineApprovalStage:
@@ -127,7 +127,7 @@ Mappings:
127
127
SourceBucketName:
128
128
Name: control-tower-cfct-assets-prod
129
129
SourceKeyName:
130
- Name: customizations-for-aws-control-tower/v2.5.1 /custom-control-tower-configuration.zip
130
+ Name: customizations-for-aws-control-tower/v2.5.2 /custom-control-tower-configuration.zip
131
131
CustomControlTowerPipelineS3TriggerKey:
132
132
Name: custom-control-tower-configuration.zip
133
133
CustomControlTowerPipelineS3NonTriggerKey:
@@ -145,7 +145,7 @@ Mappings:
145
145
SolutionID: 'SO0089'
146
146
MetricsURL: 'https://metrics.awssolutionsbuilder.com/generic'
147
147
Data:
148
- AddonTemplate: 'https://s3.amazonaws.com/control-tower-cfct-assets-prod/customizations-for-aws-control-tower/v2.5.1 /custom-control-tower-initiation.template'
148
+ AddonTemplate: 'https://s3.amazonaws.com/control-tower-cfct-assets-prod/customizations-for-aws-control-tower/v2.5.2 /custom-control-tower-initiation.template'
149
149
AWSControlTower:
150
150
ExecutionRole:
151
151
Name: "AWSControlTowerExecution"
@@ -292,7 +292,7 @@ Resources:
292
292
Code:
293
293
S3:
294
294
Bucket: control-tower-cfct-assets-prod
295
- Key: !Sub customizations-for-aws-control-tower/v2.5.1 /custom-control-tower-configuration-${AWS::Region}.zip
295
+ Key: !Sub customizations-for-aws-control-tower/v2.5.2 /custom-control-tower-configuration-${AWS::Region}.zip
296
296
297
297
# SSM Parameter to store the git repository name
298
298
CustomControlTowerRepoNameParameter:
@@ -551,7 +551,7 @@ Resources:
551
551
- {KMSKeyName: !FindInMap [KMS, Alias, Name]}
552
552
Source:
553
553
Type: CODEPIPELINE
554
- BuildSpec: "version: 0.2\nphases:\n install:\n runtime-versions:\n python: 3.8\n ruby: 2.6\n commands:\n - export current=$(pwd)\n - if [ -f manifest.yaml ];then export current=$(pwd);else if [ -f custom-control-tower-configuration/manifest.yaml ]; then export current=$(pwd)/custom-control-tower-configuration; else echo 'manifest.yaml does not exist at the root level of custom-control-tower-configuration.zip or inside custom-control-tower-configuration folder, please check the ZIP file'; exit 1; fi; fi;\n - apt-get -q update 1> /dev/null\n - apt-get -q install zip wget python3-pip libyaml-dev -y 1>/dev/null\n - export LC_ALL='en_US.UTF-8'\n - locale-gen en_US en_US.UTF-8\n - dpkg-reconfigure locales --frontend noninteractive\n pre_build:\n commands:\n - cd $current\n - echo 'Download CustomControlTower Scripts'\n - aws s3 cp --quiet s3://control-tower-cfct-assets-prod/customizations-for-aws-control-tower/v2.5.1/custom-control-tower-scripts.zip $current\n - unzip -q -o $current/custom-control-tower-scripts.zip -d $current\n - cp codebuild_scripts/* .\n - bash install_stage_dependencies.sh $STAGE_NAME\n build:\n commands:\n - echo 'Starting build $(date) in $(pwd)'\n - echo 'bash execute_stage_scripts.sh $STAGE_NAME $LOG_LEVEL $WAIT_TIME $SM_ARN $ARTIFACT_BUCKET $KMS_KEY_ALIAS_NAME $BOOL_VALUES $NONE_TYPE_VALUES'\n - bash execute_stage_scripts.sh $STAGE_NAME $LOG_LEVEL $WAIT_TIME $SM_ARN $ARTIFACT_BUCKET $KMS_KEY_ALIAS_NAME $BOOL_VALUES $NONE_TYPE_VALUES \n - echo 'Running build scripts completed $(date)'\n post_build:\n commands:\n - echo 'Starting post build $(date) in $(pwd)'\n - echo 'build completed on $(date)'\n\nartifacts:\n files:\n - '**/*'\n\n"
554
+ BuildSpec: "version: 0.2\nphases:\n install:\n runtime-versions:\n python: 3.8\n ruby: 2.6\n commands:\n - export current=$(pwd)\n - if [ -f manifest.yaml ];then export current=$(pwd);else if [ -f custom-control-tower-configuration/manifest.yaml ]; then export current=$(pwd)/custom-control-tower-configuration; else echo 'manifest.yaml does not exist at the root level of custom-control-tower-configuration.zip or inside custom-control-tower-configuration folder, please check the ZIP file'; exit 1; fi; fi;\n - apt-get -q update 1> /dev/null\n - apt-get -q install zip wget python3-pip libyaml-dev -y 1>/dev/null\n - export LC_ALL='en_US.UTF-8'\n - locale-gen en_US en_US.UTF-8\n - dpkg-reconfigure locales --frontend noninteractive\n pre_build:\n commands:\n - cd $current\n - echo 'Download CustomControlTower Scripts'\n - aws s3 cp --quiet s3://control-tower-cfct-assets-prod/customizations-for-aws-control-tower/v2.5.2/custom-control-tower-scripts.zip $current\n - unzip -q -o $current/custom-control-tower-scripts.zip -d $current\n - cp codebuild_scripts/* .\n - bash install_stage_dependencies.sh $STAGE_NAME\n build:\n commands:\n - echo 'Starting build $(date) in $(pwd)'\n - echo 'bash execute_stage_scripts.sh $STAGE_NAME $LOG_LEVEL $WAIT_TIME $SM_ARN $ARTIFACT_BUCKET $KMS_KEY_ALIAS_NAME $BOOL_VALUES $NONE_TYPE_VALUES'\n - bash execute_stage_scripts.sh $STAGE_NAME $LOG_LEVEL $WAIT_TIME $SM_ARN $ARTIFACT_BUCKET $KMS_KEY_ALIAS_NAME $BOOL_VALUES $NONE_TYPE_VALUES \n - echo 'Running build scripts completed $(date)'\n post_build:\n commands:\n - echo 'Starting post build $(date) in $(pwd)'\n - echo 'build completed on $(date)'\n\nartifacts:\n files:\n - '**/*'\n\n"
555
555
Environment:
556
556
ComputeType: BUILD_GENERAL1_SMALL
557
557
Image: "aws/codebuild/standard:5.0"
@@ -570,13 +570,13 @@ Resources:
570
570
- Name: LOG_LEVEL
571
571
Value: !FindInMap [LambdaFunction, Logging, Level]
572
572
- Name: WAIT_TIME
573
- Value: "30 "
573
+ Value: "15 "
574
574
- Name: KMS_KEY_ALIAS_NAME
575
575
Value: !FindInMap [KMS, Alias, Name]
576
576
- Name: SOLUTION_ID
577
577
Value: !FindInMap [ Solution, Metrics, SolutionID ]
578
578
- Name: SOLUTION_VERSION
579
- Value: v2.5.1
579
+ Value: v2.5.2
580
580
Artifacts:
581
581
Name: !Sub ${CustomControlTowerPipelineArtifactS3Bucket}-Built
582
582
Type: CODEPIPELINE
@@ -679,7 +679,7 @@ Resources:
679
679
- {KMSKeyName: !FindInMap [KMS, Alias, Name]}
680
680
Source:
681
681
Type: CODEPIPELINE
682
- BuildSpec: "version: 0.2\nphases:\n install:\n runtime-versions:\n python: 3.8\n ruby: 2.6\n commands:\n - export current=$(pwd)\n - if [ -f manifest.yaml ];then export current=$(pwd);else if [ -f custom-control-tower-configuration/manifest.yaml ]; then export current=$(pwd)/custom-control-tower-configuration; else echo 'manifest.yaml does not exist at the root level of custom-control-tower-configuration.zip or inside custom-control-tower-configuration folder, please check the ZIP file'; exit 1; fi; fi;\n - apt-get -q update 1> /dev/null\n - apt-get -q install zip wget python3-pip libyaml-dev -y 1> /dev/null \n pre_build:\n commands:\n - cd $current\n - echo 'Download CustomControlTower Scripts'\n - aws s3 cp --quiet s3://control-tower-cfct-assets-prod/customizations-for-aws-control-tower/v2.5.1/custom-control-tower-scripts.zip $current\n - unzip -q -o $current/custom-control-tower-scripts.zip -d $current\n - cp codebuild_scripts/* .\n - bash install_stage_dependencies.sh $STAGE_NAME\n build:\n commands:\n - echo 'Starting build $(date) in $(pwd)'\n - echo 'bash execute_stage_scripts.sh $STAGE_NAME $LOG_LEVEL $WAIT_TIME $SM_ARN $ARTIFACT_BUCKET $KMS_KEY_ALIAS_NAME $BOOL_VALUES $NONE_TYPE_VALUES'\n - bash execute_stage_scripts.sh $STAGE_NAME $LOG_LEVEL $WAIT_TIME $SM_ARN $ARTIFACT_BUCKET $KMS_KEY_ALIAS_NAME $BOOL_VALUES $NONE_TYPE_VALUES\n - echo 'Running build scripts completed $(date)'\n post_build:\n commands:\n - echo 'Starting post build $(date) in $(pwd)'\n - echo 'build completed on $(date)'\n\nartifacts:\n files:\n - '**/*'\n"
682
+ BuildSpec: "version: 0.2\nphases:\n install:\n runtime-versions:\n python: 3.8\n ruby: 2.6\n commands:\n - export current=$(pwd)\n - if [ -f manifest.yaml ];then export current=$(pwd);else if [ -f custom-control-tower-configuration/manifest.yaml ]; then export current=$(pwd)/custom-control-tower-configuration; else echo 'manifest.yaml does not exist at the root level of custom-control-tower-configuration.zip or inside custom-control-tower-configuration folder, please check the ZIP file'; exit 1; fi; fi;\n - apt-get -q update 1> /dev/null\n - apt-get -q install zip wget python3-pip libyaml-dev -y 1> /dev/null \n pre_build:\n commands:\n - cd $current\n - echo 'Download CustomControlTower Scripts'\n - aws s3 cp --quiet s3://control-tower-cfct-assets-prod/customizations-for-aws-control-tower/v2.5.2/custom-control-tower-scripts.zip $current\n - unzip -q -o $current/custom-control-tower-scripts.zip -d $current\n - cp codebuild_scripts/* .\n - bash install_stage_dependencies.sh $STAGE_NAME\n build:\n commands:\n - echo 'Starting build $(date) in $(pwd)'\n - echo 'bash execute_stage_scripts.sh $STAGE_NAME $LOG_LEVEL $WAIT_TIME $SM_ARN $ARTIFACT_BUCKET $KMS_KEY_ALIAS_NAME $BOOL_VALUES $NONE_TYPE_VALUES'\n - bash execute_stage_scripts.sh $STAGE_NAME $LOG_LEVEL $WAIT_TIME $SM_ARN $ARTIFACT_BUCKET $KMS_KEY_ALIAS_NAME $BOOL_VALUES $NONE_TYPE_VALUES\n - echo 'Running build scripts completed $(date)'\n post_build:\n commands:\n - echo 'Starting post build $(date) in $(pwd)'\n - echo 'build completed on $(date)'\n\nartifacts:\n files:\n - '**/*'\n"
683
683
Environment:
684
684
ComputeType: BUILD_GENERAL1_SMALL
685
685
Image: "aws/codebuild/standard:5.0"
@@ -690,7 +690,7 @@ Resources:
690
690
- Name: LOG_LEVEL
691
691
Value: !FindInMap [LambdaFunction, Logging, Level]
692
692
- Name: WAIT_TIME
693
- Value: "30 "
693
+ Value: "15 "
694
694
- Name: STAGE_NAME
695
695
Value: "scp"
696
696
- Name: ARTIFACT_BUCKET
@@ -700,7 +700,7 @@ Resources:
700
700
- Name: SOLUTION_ID
701
701
Value: !FindInMap [ Solution, Metrics, SolutionID ]
702
702
- Name: SOLUTION_VERSION
703
- Value: v2.5.1
703
+ Value: v2.5.2
704
704
Artifacts:
705
705
Name: !Sub ${CustomControlTowerPipelineArtifactS3Bucket}-Built
706
706
Type: CODEPIPELINE
@@ -855,7 +855,7 @@ Resources:
855
855
- {KMSKeyName: !FindInMap [KMS, Alias, Name]}
856
856
Source:
857
857
Type: CODEPIPELINE
858
- BuildSpec: "version: 0.2\nphases:\n install:\n runtime-versions:\n python: 3.8\n ruby: 2.6\n commands:\n - export current=$(pwd)\n - if [ -f manifest.yaml ];then export current=$(pwd);else if [ -f custom-control-tower-configuration/manifest.yaml ]; then export current=$(pwd)/custom-control-tower-configuration; else echo 'manifest.yaml does not exist at the root level of custom-control-tower-configuration.zip or inside custom-control-tower-configuration folder, please check the ZIP file'; exit 1; fi; fi;\n - apt-get -q update 1> /dev/null\n - apt-get -q install zip wget python3-pip libyaml-dev -y 1> /dev/null\n pre_build:\n commands:\n - cd $current\n - echo 'Download CustomControlTower Scripts'\n - aws s3 cp --quiet s3://control-tower-cfct-assets-prod/customizations-for-aws-control-tower/v2.5.1/custom-control-tower-scripts.zip $current\n - unzip -q -o $current/custom-control-tower-scripts.zip -d $current\n - cp codebuild_scripts/* .\n - bash install_stage_dependencies.sh $STAGE_NAME\n build:\n commands:\n - echo 'Starting build $(date) in $(pwd)'\n - echo 'bash execute_stage_scripts.sh $STAGE_NAME $LOG_LEVEL $WAIT_TIME $SM_ARN $ARTIFACT_BUCKET $KMS_KEY_ALIAS_NAME $BOOL_VALUES $NONE_TYPE_VALUES'\n - bash execute_stage_scripts.sh $STAGE_NAME $LOG_LEVEL $WAIT_TIME $SM_ARN $ARTIFACT_BUCKET $KMS_KEY_ALIAS_NAME $BOOL_VALUES $NONE_TYPE_VALUES\n - echo 'Running build scripts completed $(date)'\n post_build:\n commands:\n - echo 'Starting post build $(date) in $(pwd)'\n - echo 'build completed on $(date)'\n\nartifacts:\n files:\n - '**/*'\n"
858
+ BuildSpec: "version: 0.2\nphases:\n install:\n runtime-versions:\n python: 3.8\n ruby: 2.6\n commands:\n - export current=$(pwd)\n - if [ -f manifest.yaml ];then export current=$(pwd);else if [ -f custom-control-tower-configuration/manifest.yaml ]; then export current=$(pwd)/custom-control-tower-configuration; else echo 'manifest.yaml does not exist at the root level of custom-control-tower-configuration.zip or inside custom-control-tower-configuration folder, please check the ZIP file'; exit 1; fi; fi;\n - apt-get -q update 1> /dev/null\n - apt-get -q install zip wget python3-pip libyaml-dev -y 1> /dev/null\n pre_build:\n commands:\n - cd $current\n - echo 'Download CustomControlTower Scripts'\n - aws s3 cp --quiet s3://control-tower-cfct-assets-prod/customizations-for-aws-control-tower/v2.5.2/custom-control-tower-scripts.zip $current\n - unzip -q -o $current/custom-control-tower-scripts.zip -d $current\n - cp codebuild_scripts/* .\n - bash install_stage_dependencies.sh $STAGE_NAME\n build:\n commands:\n - echo 'Starting build $(date) in $(pwd)'\n - echo 'bash execute_stage_scripts.sh $STAGE_NAME $LOG_LEVEL $WAIT_TIME $SM_ARN $ARTIFACT_BUCKET $KMS_KEY_ALIAS_NAME $BOOL_VALUES $NONE_TYPE_VALUES'\n - bash execute_stage_scripts.sh $STAGE_NAME $LOG_LEVEL $WAIT_TIME $SM_ARN $ARTIFACT_BUCKET $KMS_KEY_ALIAS_NAME $BOOL_VALUES $NONE_TYPE_VALUES\n - echo 'Running build scripts completed $(date)'\n post_build:\n commands:\n - echo 'Starting post build $(date) in $(pwd)'\n - echo 'build completed on $(date)'\n\nartifacts:\n files:\n - '**/*'\n"
859
859
Environment:
860
860
ComputeType: BUILD_GENERAL1_SMALL
861
861
Image: "aws/codebuild/standard:5.0"
@@ -866,7 +866,7 @@ Resources:
866
866
- Name: LOG_LEVEL
867
867
Value: !FindInMap [LambdaFunction, Logging, Level]
868
868
- Name: WAIT_TIME
869
- Value: "30 "
869
+ Value: "15 "
870
870
- Name: STAGE_NAME
871
871
Value: "stackset"
872
872
- Name: ARTIFACT_BUCKET
@@ -880,7 +880,7 @@ Resources:
880
880
- Name: SOLUTION_ID
881
881
Value: !FindInMap [Solution, Metrics, SolutionID]
882
882
- Name: SOLUTION_VERSION
883
- Value: v2.5.1
883
+ Value: v2.5.2
884
884
- Name: METRICS_URL
885
885
Value: !FindInMap [Solution, Metrics, MetricsURL]
886
886
- Name: CONTROL_TOWER_BASELINE_CONFIG_STACKSET
@@ -1003,10 +1003,10 @@ Resources:
1003
1003
Variables:
1004
1004
LOG_LEVEL: !FindInMap [LambdaFunction, Logging, Level]
1005
1005
SOLUTION_ID: !FindInMap [Solution, Metrics, SolutionID]
1006
- SOLUTION_VERSION: v2.5.1
1006
+ SOLUTION_VERSION: v2.5.2
1007
1007
Code:
1008
1008
S3Bucket: !Sub "control-tower-cfct-assets-prod-${AWS::Region}"
1009
- S3Key: customizations-for-aws-control-tower/v2.5.1 /custom-control-tower-config-deployer.zip
1009
+ S3Key: customizations-for-aws-control-tower/v2.5.2 /custom-control-tower-config-deployer.zip
1010
1010
FunctionName: CustomControlTowerDeploymentLambda
1011
1011
Description: Custom Control Tower Deployment Lambda
1012
1012
Handler: config_deployer.lambda_handler
@@ -1273,14 +1273,14 @@ Resources:
1273
1273
ADMINISTRATION_ROLE_ARN: !Sub arn:${AWS::Partition}:iam::${AWS::AccountId}:role/service-role/AWSControlTowerStackSetRole
1274
1274
EXECUTION_ROLE_NAME: !FindInMap [AWSControlTower, ExecutionRole, Name]
1275
1275
SOLUTION_ID: !FindInMap [Solution, Metrics, SolutionID]
1276
- SOLUTION_VERSION: v2.5.1
1276
+ SOLUTION_VERSION: v2.5.2
1277
1277
METRICS_URL: !FindInMap [Solution, Metrics, MetricsURL]
1278
1278
MAX_CONCURRENT_PERCENT: !Ref MaxConcurrentPercentage
1279
1279
FAILED_TOLERANCE_PERCENT: !Ref FailureTolerancePercentage
1280
1280
REGION_CONCURRENCY_TYPE: !Ref RegionConcurrencyType
1281
1281
Code:
1282
1282
S3Bucket: !Sub "control-tower-cfct-assets-prod-${AWS::Region}"
1283
- S3Key: customizations-for-aws-control-tower/v2.5.1 /custom-control-tower-state-machine.zip
1283
+ S3Key: customizations-for-aws-control-tower/v2.5.2 /custom-control-tower-state-machine.zip
1284
1284
FunctionName: CustomControlTowerStateMachineLambda
1285
1285
Description: Custom Control Tower State Machine Handler
1286
1286
Handler: state_machine_router.lambda_handler
@@ -2888,10 +2888,10 @@ Resources:
2888
2888
LOG_LEVEL: !FindInMap [LambdaFunction, Logging, Level]
2889
2889
CODE_PIPELINE_NAME: !Ref CustomControlTowerCodePipeline
2890
2890
SOLUTION_ID: !FindInMap [ Solution, Metrics, SolutionID ]
2891
- SOLUTION_VERSION: v2.5.1
2891
+ SOLUTION_VERSION: v2.5.2
2892
2892
Code:
2893
2893
S3Bucket: !Sub "control-tower-cfct-assets-prod-${AWS::Region}"
2894
- S3Key: customizations-for-aws-control-tower/v2.5.1 /custom-control-tower-lifecycle-event-handler.zip
2894
+ S3Key: customizations-for-aws-control-tower/v2.5.2 /custom-control-tower-lifecycle-event-handler.zip
2895
2895
Description: Custom Control Tower Lifecyle event Lambda to handle lifecycle events
2896
2896
Handler: lifecycle_event_handler.lambda_handler
2897
2897
MemorySize: 512
@@ -3062,6 +3062,6 @@ Outputs:
3062
3062
Value: !Ref CustomControlTowerPipelineS3Bucket
3063
3063
CustomControlTowerSolutionVersion:
3064
3064
Description: Version Number
3065
- Value: "v2.5.1 "
3065
+ Value: "v2.5.2 "
3066
3066
Export:
3067
3067
Name: Custom-Control-Tower-Version
0 commit comments