aws-ia / terraform-aws-control_tower_account_factory

AWS Control Tower Account Factory
Apache License 2.0
631 stars 420 forks source link

Allow AFT Create Pipeline to use TF Cloud / TF Enterprise backend #348

Open wellsiau-aws opened 1 year ago

wellsiau-aws commented 1 year ago

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.

snebhu3 commented 1 year ago

@wellsiau-aws thank you for reporting this. I have created a backlog to address your request.