aws-ia / terraform-aws-control_tower_account_factory

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

Parameter to skip Global or Account Customizations #340

Open azbpa opened 1 year ago

azbpa commented 1 year ago

Describe the outcome you'd like

Every account specific CodePipeline always executes both stages AFT-Global-Customizations and AFT-Account-Customizations.

However, I my case, there is no need for the AFT-Global-Customizations stage as accounts should be configured only using AFT-Account-Customizations stage.

Therefore, I envision a configuration parameter to skip the execution of the AFT-Global-Customizations entirely (in example using a new variable here). This will speed up the pipeline execution and reduce the waste of resources executing stages that literally do nothing.

Similarly a parameter to skip the AFT-Account-Customizations stage and only run AFT-Global-Customizations is imaginable. However, this might be a more rare use case.

hanafya commented 1 year ago

Hey @azbpa!

I have created a feature request in our backlog to look into this feature.

Thanks!

azbpa commented 1 year ago

@hanafya, can you share an updated on the internal feature request you have raised? Thanks!