Skip to content

Commit 4af2f66

Browse files
author
AWS
committed
Release: 1.14.0
1 parent 5819680 commit 4af2f66

File tree

29 files changed

+380
-198
lines changed

29 files changed

+380
-198
lines changed

CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
@balltrev @adam-daily @hanafya @tonynv @andrew-glenn @stumins @snebhu3 @aws-ia/aws-ia
1+
* @ouyanguf @wiltangg @aviwshah @harrisonhku @JamesActually @dashbat @dhingraa-github @sk-at-amazon @aspiratr-aws

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@ As of version 1.6.0, AFT collects anonymous operational metrics to help AWS impr
109109
| <a name="input_account_request_repo_branch"></a> [account\_request\_repo\_branch](#input\_account\_request\_repo\_branch) | Branch to source account request repo from | `string` | `"main"` | no |
110110
| <a name="input_account_request_repo_name"></a> [account\_request\_repo\_name](#input\_account\_request\_repo\_name) | Repository name for the account request files. For non-CodeCommit repos, name should be in the format of Org/Repo | `string` | `"aft-account-request"` | no |
111111
| <a name="input_aft_backend_bucket_access_logs_object_expiration_days"></a> [aft\_backend\_bucket\_access\_logs\_object\_expiration\_days](#input\_aft\_backend\_bucket\_access\_logs\_object\_expiration\_days) | Amount of days to keep the objects stored in the access logs bucket for AFT backend buckets | `number` | `365` | no |
112+
| <a name="input_aft_customer_private_subnets"></a> [aft\_customer\_private\_subnets](#input\_aft\_customer\_private\_subnets) | A list of private subnets to deploy AFT resources in, if customer is providing an existing VPC. Only supported for new deployments. | `list(string)` | `[]` | no |
113+
| <a name="input_aft_customer_vpc_id"></a> [aft\_customer\_vpc\_id](#input\_aft\_customer\_vpc\_id) | The VPC ID to deploy AFT resources in, if customer is providing an existing VPC. Only supported for new deployments. | `string` | `null` | no |
112114
| <a name="input_aft_enable_vpc"></a> [aft\_enable\_vpc](#input\_aft\_enable\_vpc) | Flag turning use of VPC on/off for AFT | `bool` | `true` | no |
113115
| <a name="input_aft_feature_cloudtrail_data_events"></a> [aft\_feature\_cloudtrail\_data\_events](#input\_aft\_feature\_cloudtrail\_data\_events) | Feature flag toggling CloudTrail data events on/off | `bool` | `false` | no |
114116
| <a name="input_aft_feature_delete_default_vpcs_enabled"></a> [aft\_feature\_delete\_default\_vpcs\_enabled](#input\_aft\_feature\_delete\_default\_vpcs\_enabled) | Feature flag toggling deletion of default VPCs on/off | `bool` | `false` | no |
@@ -137,9 +139,11 @@ As of version 1.6.0, AFT collects anonymous operational metrics to help AWS impr
137139
| <a name="input_log_archive_account_id"></a> [log\_archive\_account\_id](#input\_log\_archive\_account\_id) | Log Archive Account Id | `string` | n/a | yes |
138140
| <a name="input_log_archive_bucket_object_expiration_days"></a> [log\_archive\_bucket\_object\_expiration\_days](#input\_log\_archive\_bucket\_object\_expiration\_days) | Amount of days to keep the objects stored in the AFT logging bucket | `number` | `365` | no |
139141
| <a name="input_maximum_concurrent_customizations"></a> [maximum\_concurrent\_customizations](#input\_maximum\_concurrent\_customizations) | Maximum number of customizations/pipelines to run at once | `number` | `5` | no |
142+
| <a name="input_tags"></a> [tags](#input\_tags) | Map of tags to apply to resources deployed by AFT. | `map(any)` | `null` | no |
140143
| <a name="input_terraform_api_endpoint"></a> [terraform\_api\_endpoint](#input\_terraform\_api\_endpoint) | API Endpoint for Terraform. Must be in the format of https://xxx.xxx. | `string` | `"https://app.terraform.io/api/v2/"` | no |
141144
| <a name="input_terraform_distribution"></a> [terraform\_distribution](#input\_terraform\_distribution) | Terraform distribution being used for AFT - valid values are oss, tfc, or tfe | `string` | `"oss"` | no |
142145
| <a name="input_terraform_org_name"></a> [terraform\_org\_name](#input\_terraform\_org\_name) | Organization name for Terraform Cloud or Enterprise | `string` | `"null"` | no |
146+
| <a name="input_terraform_project_name"></a> [terraform\_project\_name](#input\_terraform\_project\_name) | Project name for Terraform Cloud or Enterprise - project must exist before deployment | `string` | `"Default Project"` | no |
143147
| <a name="input_terraform_token"></a> [terraform\_token](#input\_terraform\_token) | Terraform token for Cloud or Enterprise | `string` | `"null"` | no |
144148
| <a name="input_terraform_version"></a> [terraform\_version](#input\_terraform\_version) | Terraform version being used for AFT | `string` | `"1.6.0"` | no |
145149
| <a name="input_tf_backend_secondary_region"></a> [tf\_backend\_secondary\_region](#input\_tf\_backend\_secondary\_region) | AFT creates a backend for state tracking for its own state as well as OSS cases. The backend's primary region is the same as the AFT region, but this defines the secondary region to replicate to. | `string` | `""` | no |

SECURITY.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
## Reporting Security Issues
2+
3+
Amazon Web Services (AWS) is dedicated to the responsible disclosure of security vulnerabilities.
4+
5+
We kindly ask that you **do not** open a public GitHub issue to report security concerns.
6+
7+
Instead, please submit the issue to the AWS Vulnerability Disclosure Program via [HackerOne](https://hackerone.com/aws_vdp) or send your report via [email](mailto:[email protected]).
8+
9+
For more details, visit the [AWS Vulnerability Reporting Page](http://aws.amazon.com/security/vulnerability-reporting/).
10+
11+
Thank you in advance for collaborating with us to help protect our customers.

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.13.5
1+
1.14.0

locals.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ locals {
2525
delete_default_vpc_lambda_function_name = "aft-delete-default-vpc"
2626
enroll_support_lambda_function_name = "aft-enroll-support"
2727
enable_cloudtrail_lambda_function_name = "aft-enable-cloudtrail"
28+
aft_tags = merge(var.tags, { managed_by = "AFT" })
2829
ssm_paths = {
2930
aft_tf_aws_customizations_module_url_ssm_path = "/aft/config/aft-pipeline-code-source/repo-url"
3031
aft_tf_aws_customizations_module_git_ref_ssm_path = "/aft/config/aft-pipeline-code-source/repo-git-ref"

main.tf

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ module "aft_account_provisioning_framework" {
1818
aft_failure_sns_topic_arn = module.aft_account_request_framework.aft_failure_sns_topic_arn
1919
aft_common_layer_arn = module.aft_lambda_layer.layer_version_arn
2020
aft_kms_key_arn = module.aft_account_request_framework.aft_kms_key_arn
21-
aft_enable_vpc = var.aft_enable_vpc
21+
aft_enable_vpc = module.aft_account_request_framework.vpc_deployment
2222
aft_vpc_private_subnets = module.aft_account_request_framework.aft_vpc_private_subnets
2323
aft_vpc_default_sg = module.aft_account_request_framework.aft_vpc_default_sg
2424
cloudwatch_log_group_retention = var.cloudwatch_log_group_retention
@@ -56,10 +56,10 @@ module "aft_account_request_framework" {
5656
request_framework_archive_hash = module.packaging.request_framework_archive_hash
5757
lambda_runtime_python_version = local.lambda_runtime_python_version
5858
backup_recovery_point_retention = var.backup_recovery_point_retention
59+
aft_customer_vpc_id = var.aft_customer_vpc_id
60+
aft_customer_private_subnets = var.aft_customer_private_subnets
5961
}
6062

61-
62-
6363
module "aft_backend" {
6464
providers = {
6565
aws.primary_region = aws.aft_management
@@ -101,7 +101,7 @@ module "aft_code_repositories" {
101101
global_customizations_repo_branch = var.global_customizations_repo_branch
102102
log_group_retention = var.cloudwatch_log_group_retention
103103
global_codebuild_timeout = var.global_codebuild_timeout
104-
aft_enable_vpc = var.aft_enable_vpc
104+
aft_enable_vpc = module.aft_account_request_framework.vpc_deployment
105105
}
106106

107107
module "aft_customizations" {
@@ -137,7 +137,7 @@ module "aft_customizations" {
137137
customizations_archive_hash = module.packaging.customizations_archive_hash
138138
global_codebuild_timeout = var.global_codebuild_timeout
139139
lambda_runtime_python_version = local.lambda_runtime_python_version
140-
aft_enable_vpc = var.aft_enable_vpc
140+
aft_enable_vpc = module.aft_account_request_framework.vpc_deployment
141141
}
142142

143143
module "aft_feature_options" {
@@ -167,7 +167,7 @@ module "aft_feature_options" {
167167
enroll_support_lambda_function_name = local.enroll_support_lambda_function_name
168168
enable_cloudtrail_lambda_function_name = local.enable_cloudtrail_lambda_function_name
169169
lambda_runtime_python_version = local.lambda_runtime_python_version
170-
aft_enable_vpc = var.aft_enable_vpc
170+
aft_enable_vpc = module.aft_account_request_framework.vpc_deployment
171171
}
172172

173173
module "aft_iam_roles" {
@@ -201,7 +201,7 @@ module "aft_lambda_layer" {
201201
builder_archive_path = module.packaging.builder_archive_path
202202
builder_archive_hash = module.packaging.builder_archive_hash
203203
cloudwatch_log_group_retention = var.cloudwatch_log_group_retention
204-
aft_enable_vpc = var.aft_enable_vpc
204+
aft_enable_vpc = module.aft_account_request_framework.vpc_deployment
205205
}
206206

207207
module "aft_ssm_parameters" {
@@ -259,6 +259,7 @@ module "aft_ssm_parameters" {
259259
terraform_token = var.terraform_token # Null default value #tfsec:ignore:general-secrets-no-plaintext-exposure
260260
terraform_version = var.terraform_version
261261
terraform_org_name = var.terraform_org_name
262+
terraform_project_name = var.terraform_project_name
262263
aft_feature_cloudtrail_data_events = var.aft_feature_cloudtrail_data_events
263264
aft_feature_enterprise_support = var.aft_feature_enterprise_support
264265
aft_feature_delete_default_vpcs_enabled = var.aft_feature_delete_default_vpcs_enabled

0 commit comments

Comments
 (0)