aws-solutions / aws-control-tower-customizations

The Customizations for AWS Control Tower solution combines AWS Control Tower and other highly-available, trusted AWS services to help customers more quickly set up a secure, multi-account AWS environment using AWS best practices.
https://docs.aws.amazon.com/controltower/latest/userguide/cfct-overview.html
Apache License 2.0
354 stars 205 forks source link

Question: Does the CfCT Pipeline trigger upon account creation/updates made in Control Tower? #168

Closed eambriz27 closed 8 months ago

eambriz27 commented 11 months ago

Describe the bug Currently, I have implemented CfCT based on the most current implementation hosted in this GitHub repo as of 07/20/2023. After completing the implementation, I tested an account update within a demo account that is targeted within the manifest file, and was hoping to see the CodePipeline rerun, but did not see any activity. Although, after manually creating a rule in EventBridge to invoke the Pipeline after seeing an account update and/or creation, I was presented with expected behavior. So my question is, are account updates and creations meant to trigger CfCT, applying all customizations to the new/updated accounts? If so, is this by default or are there best practices to implement this? Is adding the EventBridge Rule in the customizations-for-aws-control-tower.template resources section a viable way to do this?

To Reproduce Deploy CfCT, add customizations to manifest file, deploy account update/creation.

Expected behavior CfCT would run against newly updated account by default.

Please complete the following information about the solution:

To get the version of the solution, you can look at the description of the created CloudFormation stack. For example, "(SO0089) - customizations-for-aws-control-tower Solution. Version: v1.0.0". You can also find the version from releases

Screenshots If applicable, add screenshots to help explain your problem (please DO NOT include sensitive information).

Additional context Add any other context about the problem here.

snebhu3 commented 11 months ago

@eambriz27 thank you for reaching out. Please may you elaborate on what updates are performed on the targeted account?

eambriz27 commented 11 months ago

The only update that was made was the update to Landing Zone version 3.1 @snebhu3

stumins commented 8 months ago

CFCT triggers the customization pipeline when: