So we are transitioning some of our applications from terraform to aws cdk and I was wondering if anyone has had any experience executing aws cdk commands from octopus?
Currently we build using Jenkins and push the package to octopus, and we would like to have a flow similar to the built in terraform steps for deploying the IaC changes.
I was thinking we could create a worker(s) with the aws cdk cli installed and then set those worker(s) to a worker pool. We could then create a custom aws cdk step template similar to the terraform templates and set the worker pool on the custom cdk template. Passing in any parameters we need for the command line.
Is this the right approach? Is there something easier? Should we synthesize the cdk and use the built cloud formation templates?
Thanks for any help.