File tree Expand file tree Collapse file tree 13 files changed +73
-81
lines changed
aft-account-provisioning-framework
aft-account-request-framework
sources/aft-lambda-layer/aft_common
src/aft_lambda/aft_account_request_framework Expand file tree Collapse file tree 13 files changed +73
-81
lines changed Original file line number Diff line number Diff line change 1- 1.9.1
1+ 1.9.2
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ locals {
1616 log_archive_access_logs_bucket_name = " aws-aft-s3-access-logs"
1717 log_archive_bucket_object_expiration_days = " 365"
1818 lambda_layer_codebuild_delay = " 420s"
19- lambda_layer_python_version = " 3.8 "
19+ lambda_layer_python_version = " 3.9 "
2020 lambda_layer_name = " aft-common"
2121 create_role_lambda_function_name = " aft-account-provisioning-framework-create-aft-execution-role"
2222 tag_account_lambda_function_name = " aft-account-provisioning-framework-tag-account"
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ resource "aws_lambda_function" "create_role" {
1212 handler = " aft_account_provisioning_framework_create_role.lambda_handler"
1313 source_code_hash = var. provisioning_framework_archive_hash
1414 memory_size = 1024
15- runtime = " python3.8 "
15+ runtime = " python3.9 "
1616 timeout = 300
1717 layers = [var . aft_common_layer_arn ]
1818
@@ -39,7 +39,7 @@ resource "aws_lambda_function" "tag_account" {
3939 handler = " aft_account_provisioning_framework_tag_account.lambda_handler"
4040 source_code_hash = var. provisioning_framework_archive_hash
4141 memory_size = 1024
42- runtime = " python3.8 "
42+ runtime = " python3.9 "
4343 timeout = 300
4444 layers = [var . aft_common_layer_arn ]
4545
@@ -65,7 +65,7 @@ resource "aws_lambda_function" "persist_metadata" {
6565 handler = " aft_account_provisioning_framework_persist_metadata.lambda_handler"
6666 source_code_hash = var. provisioning_framework_archive_hash
6767 memory_size = 1024
68- runtime = " python3.8 "
68+ runtime = " python3.9 "
6969 timeout = 300
7070 layers = [var . aft_common_layer_arn ]
7171
@@ -93,7 +93,7 @@ resource "aws_lambda_function" "account_metadata_ssm" {
9393 handler = " aft_account_provisioning_framework_account_metadata_ssm.lambda_handler"
9494 source_code_hash = var. provisioning_framework_archive_hash
9595 memory_size = 1024
96- runtime = " python3.8 "
96+ runtime = " python3.9 "
9797 timeout = 300
9898 layers = [var . aft_common_layer_arn ]
9999
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ resource "aws_lambda_function" "aft_account_request_audit_trigger" {
1414
1515 source_code_hash = var. request_framework_archive_hash
1616 memory_size = 1024
17- runtime = " python3.8 "
17+ runtime = " python3.9 "
1818 timeout = " 300"
1919 layers = [var . aft_common_layer_arn ]
2020
@@ -58,7 +58,7 @@ resource "aws_lambda_function" "aft_account_request_action_trigger" {
5858
5959 source_code_hash = var. request_framework_archive_hash
6060 memory_size = 1024
61- runtime = " python3.8 "
61+ runtime = " python3.9 "
6262 timeout = " 300"
6363 layers = [var . aft_common_layer_arn ]
6464
@@ -96,7 +96,7 @@ resource "aws_lambda_function" "aft_controltower_event_logger" {
9696
9797 source_code_hash = var. request_framework_archive_hash
9898 memory_size = 1024
99- runtime = " python3.8 "
99+ runtime = " python3.9 "
100100 timeout = " 300"
101101 layers = [var . aft_common_layer_arn ]
102102
@@ -133,7 +133,7 @@ resource "aws_lambda_function" "aft_account_request_processor" {
133133
134134 source_code_hash = var. request_framework_archive_hash
135135 memory_size = 1024
136- runtime = " python3.8 "
136+ runtime = " python3.9 "
137137 timeout = " 300"
138138 layers = [var . aft_common_layer_arn ]
139139
@@ -177,7 +177,7 @@ resource "aws_lambda_function" "aft_invoke_aft_account_provisioning_framework" {
177177
178178 source_code_hash = var. request_framework_archive_hash
179179 memory_size = 1024
180- runtime = " python3.8 "
180+ runtime = " python3.9 "
181181 timeout = " 300"
182182 layers = [var . aft_common_layer_arn ]
183183
@@ -215,7 +215,7 @@ resource "aws_lambda_function" "aft_cleanup_resources" {
215215
216216 source_code_hash = var. request_framework_archive_hash
217217 memory_size = 1024
218- runtime = " python3.8 "
218+ runtime = " python3.9 "
219219 timeout = " 300"
220220 layers = [var . aft_common_layer_arn ]
221221
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ resource "aws_codebuild_project" "account_request" {
2323
2424 environment {
2525 compute_type = " BUILD_GENERAL1_MEDIUM"
26- image = " aws/codebuild/amazonlinux2-x86_64-standard:3 .0"
26+ image = " aws/codebuild/amazonlinux2-x86_64-standard:4 .0"
2727 type = " LINUX_CONTAINER"
2828 image_pull_credentials_type = " CODEBUILD"
2929 environment_variable {
@@ -75,7 +75,7 @@ resource "aws_codebuild_project" "account_provisioning_customizations_pipeline"
7575
7676 environment {
7777 compute_type = " BUILD_GENERAL1_MEDIUM"
78- image = " aws/codebuild/amazonlinux2-x86_64-standard:3 .0"
78+ image = " aws/codebuild/amazonlinux2-x86_64-standard:4 .0"
7979 type = " LINUX_CONTAINER"
8080 image_pull_credentials_type = " CODEBUILD"
8181
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ resource "aws_codebuild_project" "aft_global_customizations_terraform" {
1919
2020 environment {
2121 compute_type = " BUILD_GENERAL1_MEDIUM"
22- image = " aws/codebuild/amazonlinux2-x86_64-standard:3 .0"
22+ image = " aws/codebuild/amazonlinux2-x86_64-standard:4 .0"
2323 type = " LINUX_CONTAINER"
2424 image_pull_credentials_type = " CODEBUILD"
2525
@@ -89,7 +89,7 @@ resource "aws_codebuild_project" "aft_account_customizations_terraform" {
8989
9090 environment {
9191 compute_type = " BUILD_GENERAL1_MEDIUM"
92- image = " aws/codebuild/amazonlinux2-x86_64-standard:3 .0"
92+ image = " aws/codebuild/amazonlinux2-x86_64-standard:4 .0"
9393 type = " LINUX_CONTAINER"
9494 image_pull_credentials_type = " CODEBUILD"
9595 environment_variable {
@@ -158,7 +158,7 @@ resource "aws_codebuild_project" "aft_create_pipeline" {
158158
159159 environment {
160160 compute_type = " BUILD_GENERAL1_MEDIUM"
161- image = " aws/codebuild/amazonlinux2-x86_64-standard:3 .0"
161+ image = " aws/codebuild/amazonlinux2-x86_64-standard:4 .0"
162162 type = " LINUX_CONTAINER"
163163 image_pull_credentials_type = " CODEBUILD"
164164
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ resource "aws_lambda_function" "aft_customizations_identify_targets" {
1313
1414 source_code_hash = var. customizations_archive_hash
1515 memory_size = 1024
16- runtime = " python3.8 "
16+ runtime = " python3.9 "
1717 timeout = " 300"
1818 layers = [var . aft_common_layer_arn ]
1919
@@ -41,7 +41,7 @@ resource "aws_lambda_function" "aft_customizations_execute_pipeline" {
4141
4242 source_code_hash = var. customizations_archive_hash
4343 memory_size = 1024
44- runtime = " python3.8 "
44+ runtime = " python3.9 "
4545 timeout = " 300"
4646 layers = [var . aft_common_layer_arn ]
4747
@@ -68,7 +68,7 @@ resource "aws_lambda_function" "aft_customizations_get_pipeline_executions" {
6868
6969 source_code_hash = var. customizations_archive_hash
7070 memory_size = 1024
71- runtime = " python3.8 "
71+ runtime = " python3.9 "
7272 timeout = " 300"
7373 layers = [var . aft_common_layer_arn ]
7474
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ resource "aws_lambda_function" "aft_delete_default_vpc" {
1313
1414 source_code_hash = var. feature_options_archive_hash
1515 memory_size = 1024
16- runtime = " python3.8 "
16+ runtime = " python3.9 "
1717 timeout = " 300"
1818 layers = [var . aft_common_layer_arn ]
1919
@@ -43,7 +43,7 @@ resource "aws_lambda_function" "aft_enroll_support" {
4343
4444 source_code_hash = var. feature_options_archive_hash
4545 memory_size = 1024
46- runtime = " python3.8 "
46+ runtime = " python3.9 "
4747 timeout = " 300"
4848 layers = [var . aft_common_layer_arn ]
4949
@@ -72,7 +72,7 @@ resource "aws_lambda_function" "aft_enable_cloudtrail" {
7272
7373 source_code_hash = var. feature_options_archive_hash
7474 memory_size = 1024
75- runtime = " python3.8 "
75+ runtime = " python3.9 "
7676 timeout = " 300"
7777 layers = [var . aft_common_layer_arn ]
7878
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ resource "aws_codebuild_project" "codebuild" {
1515
1616 environment {
1717 compute_type = " BUILD_GENERAL1_MEDIUM"
18- image = " aws/codebuild/amazonlinux2-x86_64-standard:3 .0"
18+ image = " aws/codebuild/amazonlinux2-x86_64-standard:4 .0"
1919 type = " LINUX_CONTAINER"
2020 image_pull_credentials_type = " CODEBUILD"
2121
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ resource "aws_lambda_function" "codebuild_invoker" {
1111 handler = " codebuild_invoker.lambda_handler"
1212 source_code_hash = var. builder_archive_hash
1313 memory_size = 1024
14- runtime = " python3.8 "
14+ runtime = " python3.9 "
1515 timeout = 900
1616
1717 vpc_config {
You can’t perform that action at this time.
0 commit comments