Difference between revisions of "AWS Control Tower Account Factory for Terraform (AFT)"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
AWS Control Tower Account Factory for Terraform (AFT) ([[AWS timeline|Nov 2021]]) <ref>https://aws.amazon.com/blogs/aws/new-aws-control-tower-account-factory-for-terraform/</ref>
 
AWS Control Tower Account Factory for Terraform (AFT) ([[AWS timeline|Nov 2021]]) <ref>https://aws.amazon.com/blogs/aws/new-aws-control-tower-account-factory-for-terraform/</ref>
 
* https://docs.aws.amazon.com/controltower/latest/userguide/taf-account-provisioning.html
 
* https://docs.aws.amazon.com/controltower/latest/userguide/taf-account-provisioning.html
 +
 +
== Examples ==
 +
Official example:
 +
<pre>
 +
 +
module "aft" {
 +
  source = "[email protected]:aws-ia/terraform-aws-control_tower_account_factory.git"
 +
 +
  # Required Parameters
 +
  ct_management_account_id    = "123412341234"
 +
  log_archive_account_id      = "234523452345"
 +
  audit_account_id            = "345634563456"
 +
  aft_management_account_id  = "456745674567"
 +
  ct_home_region              = "us-east-1"
 +
  tf_backend_secondary_region = "us-west-2"
 +
 +
  # Optional Parameters
 +
  terraform_distribution = "oss"
 +
  vcs_provider          = "codecommit"
 +
 +
  # Optional Feature Flags
 +
  aft_feature_delete_default_vpcs_enabled = false
 +
  aft_feature_cloudtrail_data_events      = false
 +
  aft_feature_enterprise_support          = false
 +
}
 +
</pre>
  
 
== Related ==
 
== Related ==

Revision as of 16:08, 20 February 2024

AWS Control Tower Account Factory for Terraform (AFT) (Nov 2021) [1]

Examples

Official example:


module "aft" {
  source = "[email protected]:aws-ia/terraform-aws-control_tower_account_factory.git"

  # Required Parameters
  ct_management_account_id    = "123412341234"
  log_archive_account_id      = "234523452345"
  audit_account_id            = "345634563456"
  aft_management_account_id   = "456745674567"
  ct_home_region              = "us-east-1"
  tf_backend_secondary_region = "us-west-2"

  # Optional Parameters
  terraform_distribution = "oss"
  vcs_provider           = "codecommit"

  # Optional Feature Flags
  aft_feature_delete_default_vpcs_enabled = false
  aft_feature_cloudtrail_data_events      = false
  aft_feature_enterprise_support          = false
}

Related

See also

  • https://aws.amazon.com/blogs/aws/new-aws-control-tower-account-factory-for-terraform/
  • Advertising: