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

From wikieduonline
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
== Examples ==
 
== Examples ==
 
Official example:  
 
Official example:  
<pre>
 
  
module "aft" {
+
module "aft" {
 
   [[source]] = "[email protected]:aws-ia/terraform-aws-control_tower_account_factory.git"
 
   [[source]] = "[email protected]:aws-ia/terraform-aws-control_tower_account_factory.git"
 
+
 
   # Required Parameters
 
   # Required Parameters
 
   ct_management_account_id    = "123412341234"
 
   ct_management_account_id    = "123412341234"
Line 16: Line 15:
 
   ct_home_region              = "us-east-1"
 
   ct_home_region              = "us-east-1"
 
   tf_backend_secondary_region = "us-west-2"
 
   tf_backend_secondary_region = "us-west-2"
 
+
 
   # Optional Parameters
 
   # Optional Parameters
 
   terraform_distribution = "oss"
 
   terraform_distribution = "oss"
 
   vcs_provider          = "codecommit"
 
   vcs_provider          = "codecommit"
 
+
 
   # Optional Feature Flags
 
   # Optional Feature Flags
 
   aft_feature_delete_default_vpcs_enabled = false
 
   aft_feature_delete_default_vpcs_enabled = false
 
   aft_feature_cloudtrail_data_events      = false
 
   aft_feature_cloudtrail_data_events      = false
 
   aft_feature_enterprise_support          = false
 
   aft_feature_enterprise_support          = false
}
+
}
</pre>
 
  
 
== Related ==
 
== Related ==
 
* [[AWS Control Tower]]
 
* [[AWS Control Tower]]
 
* [[Terraform]]: [[Terraform AWS provider]]
 
* [[Terraform]]: [[Terraform AWS provider]]
* [[Account Factory]]
+
* [[AWS Control Tower Account Factory]]
  
 
== See also ==
 
== See also ==

Latest revision as of 17:27, 20 February 2024

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

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]

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