This repository has been archived by the owner on Sep 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
locals.tf
37 lines (37 loc) · 2.85 KB
/
locals.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Copyright Amazon.com, Inc. or its affiliates. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
locals {
aft_version = chomp(trimspace(data.local_file.version.content))
aft_framework_repo_git_ref = var.aft_framework_repo_git_ref == null || var.aft_framework_repo_git_ref == "" ? local.aft_version : var.aft_framework_repo_git_ref
aft_account_provisioning_customizations_sfn_name = "aft-account-provisioning-customizations"
aft_account_provisioning_framework_sfn_name = "aft-account-provisioning-framework"
trigger_customizations_sfn_name = "aft-invoke-customizations"
aft_features_sfn_name = "aft-feature-options"
aft_execution_role_name = "AWSAFTExecution"
aft_administrator_role_name = "AWSAFTAdmin"
aft_session_name = "AWSAFT-Session"
account_factory_product_name = "AWS Control Tower Account Factory"
log_archive_bucket_name = "aws-aft-logs"
log_archive_access_logs_bucket_name = "aws-aft-s3-access-logs"
lambda_layer_codebuild_delay = "420s"
lambda_layer_python_version = chomp(trimspace(data.local_file.python_version.content))
lambda_runtime_python_version = format("%s%s", "python", chomp(trimspace(data.local_file.python_version.content)))
lambda_layer_name = "aft-common"
create_role_lambda_function_name = "aft-account-provisioning-framework-create-aft-execution-role"
tag_account_lambda_function_name = "aft-account-provisioning-framework-tag-account"
persist_metadata_lambda_function_name = "aft-account-provisioning-framework-persist-metadata"
account_metadata_ssm_lambda_function_name = "aft-account-provisioning-framework-account-metadata-ssm"
delete_default_vpc_lambda_function_name = "aft-delete-default-vpc"
enroll_support_lambda_function_name = "aft-enroll-support"
enable_cloudtrail_lambda_function_name = "aft-enable-cloudtrail"
ssm_paths = {
aft_tf_aws_customizations_module_url_ssm_path = "/aft/config/aft-pipeline-code-source/repo-url"
aft_tf_aws_customizations_module_git_ref_ssm_path = "/aft/config/aft-pipeline-code-source/repo-git-ref"
aft_tf_s3_bucket_ssm_path = "/aft/config/oss-backend/bucket-id"
aft_tf_backend_region_ssm_path = "/aft/config/oss-backend/primary-region"
aft_tf_kms_key_id_ssm_path = "/aft/config/oss-backend/kms-key-id"
aft_tf_ddb_table_ssm_path = "/aft/config/oss-backend/table-id"
aft_tf_version_ssm_path = "/aft/config/terraform/version"
}
}