trigger CodePipeline on schedule
Hello,
Is there a native way in CodePipeline itself, to trigger a pipeline on schedule(cronjob)? I believe we can have a Lambda run on schedule and it triggers pipeline, but was looking for a better way.
Another question is, how can we have CodePipeline launch cloudformation templates in different regions? Is there any reference out there, to fan out using step-functions and launch templates in parallel in different regions?
Thank you
Is there a native way in CodePipeline itself, to trigger a pipeline on schedule(cronjob)? I believe we can have a Lambda run on schedule and it triggers pipeline, but was looking for a better way.
Currently your best option is exactly what you described, using lambda or aws client from a cronjob to call https://docs.aws.amazon.com/codepipeline/latest/APIReference/API_StartPipelineExecution.html or https://docs.aws.amazon.com/codepipeline/latest/APIReference/API_PutActionRevision.html
Another question is, how can we have CodePipeline launch cloudformation templates in different regions? Is there any reference out there, to fan out using step-functions and launch templates in parallel in different regions?
This article might be helpful: https://aws.amazon.com/blogs/devops/building-a-cross-regioncross-account-code-deployment-solution-on-aws/
Relevant questions
Transfer files (1GB to 2G) from web url to S3 on a schedule
Accepted Answerasked 2 years agoCodePipeline how to make artifact locations accessible to CodeBuild
Accepted Answerasked 4 years agotrigger CodePipeline on schedule
Accepted Answerasked 5 years agoWill AWS Glue Blueprints support trigger types other than a schedule?
Accepted Answerasked 3 months agoPipeline trigger on pull request
asked 2 months agoSteps for deploying code on IIS
asked 4 months agoRollback using CodePipeline
asked 4 years agoRun different notebooks present in same Sagemaker notebook instance with lifecycle configurations based on different lambda triggers
asked 23 days agoHow to deploy 4 lambdas in typescript using a code pipeline ?
asked 2 months agoCan I skip one of the action in CodeBuild ? to continue the pipieline
Accepted Answerasked 4 months ago