Search code examples
amazon-web-servicesterraform-provider-awsaws-cdkcdktf

Can I create an AWS state machine using the CDK for Terraform?


I've been following the instructions here to stand up a new cdktf java project. My current goal is to build a process that can create AWS state machine using a fluent-like syntax that I can then deploy to via terraform. It seems like cdktf is what I need, but I'm unable to find any examples using cdktf and the aws cdk for state machine tasks. Is it possible using cdktf to accomplish my goal? What other pieces do I need to include/import in my project in order to build state machines?


Solution

  • As @gshpychka pointed out AWS CDK and CDK for Terraform (CDKTF) are different, there is an interoperability layer that you could try to use, it even has a StepFunction example.