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

Switch away from polling pipeline and use EventBridge instead #158

Closed zoellner closed 1 year ago

zoellner commented 1 year ago

Is your feature request related to a problem? Please describe. The current template creates a polling pipeline which will be disabled in less than a month.

Describe the feature you'd like Switch to an Amazon EventBridge triggered pipeline for S3 sources.

Additional context Email from AWS: You are receiving this message because you have one or more polling pipelines in your account. A polling pipeline is defined as a pipeline that has at least one source action configured to poll for changes. The AWS CodePipeline team will be disabling polling in inactive pipelines effective May 25, 2023. An inactive pipeline is defined as one that has not had a pipeline execution started in the last 30 days. Inactive pipelines that only use Amazon EventBridge rule, or AWS CodeStar Connections, or webhooks to trigger the pipeline will not be affected. Additionally, any active pipeline will also not be affected.

We recommend that you update to use Amazon EventBridge, or AWS CodeStar Connections, or webhooks as the trigger mechanism for your source. Follow the instructions in the documentation[1] for making this change. Changing your pipeline from polling to event based will improve performance for pipeline executions by ensuring they respond to source changes quicker.

If you have questions about this change, the AWS Support Team is available on re:Post [2] and via Premium Support [3].

[1] https://docs.aws.amazon.com/codepipeline/latest/userguide/update-change-detection.html [2] https://repost.aws/tags/TAD_CcYa8ASIKYqZ_uXiwwgA/aws-codepipeline [3] https://support.console.aws.amazon.com/support

Sincerely, Amazon Web Services

balltrev commented 1 year ago

@zoellner Thanks for bringing this issue up! I've gone ahead and made a backlog with the team to handle the update to CfCT's CodePipeline.

fernandohonig commented 1 year ago

Hello @balltrev, is there any progress here? We are almost reaching EOL for AWS CodePipeline S3 Source on inactive pipelines. Thanks.

hanafya commented 1 year ago

Hey @fernandohonig! With the latest CFCT release we now support Eventbased triggers for CodePipeline deployments. Please see, https://github.com/aws-solutions/aws-control-tower-customizations/releases/tag/v2.6.0