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

From wikieduonline
Jump to navigation Jump to search
 
(8 intermediate revisions by the same user not shown)
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
  
 +
== 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 ==
 
== Related ==
 
* [[AWS Control Tower]]
 
* [[AWS Control Tower]]
* [[Terraform]]
+
* [[Terraform]]: [[Terraform AWS provider]]
 +
* [[AWS Control Tower Account Factory]]
  
 
== See also ==
 
== See also ==

Latest revision as of 17:27, 20 February 2024

Examples[edit]

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[edit]

See also[edit]

Advertising: