Terraform + AWS Code deploy + cloud formation

Hi ,
I have used AWS codepipeline for cicd . I use “Git hub” for source , “AWS code build” for building and “AWS code deploy” using cloud formation.

Using aws_codedeploy_app terraform , I couldn’t understand how to use the Cloud formation as deployment procedure.

Is that possible using Terraform ?

Can anyone please advise ?