terraform-aws-control_tower_account_factory
terraform-aws-control_tower_account_factory copied to clipboard
Allow AFT Create Pipeline to use TF Cloud / TF Enterprise backend
Describe the outcome you'd like
Customer that use TFC or TFE as their Terraform backend expects that all resources provision by AFT to be managed in the same backend (TFC/TFE), including the account-specific CodePipeline
Is your feature request related to a problem you are currently experiencing? If so, please describe.
When AFT provision a new account, it creates account-specific CodePipeline that will manage the global and account level customization.
AFT uses this buildspec to create the pipeline. This buildspec however did not honor the choice of TFE/TFC as the backend and will always default to use S3 backend.
Additional context
For comparison, other buildspec such as aft-account-request did honor the choice of backend.
@wellsiau-aws thank you for reporting this. I have created a backlog to address your request.