sparse-intern-71089
10/20/2020, 10:35 AMlemon-agent-27707
10/20/2020, 1:23 PMIs pulumi automation api same as https://github.com/hashicorp/terraform-cdkNo, tfcdk is a command line tool and doesn't have a programmatic API like Automation API. Also, tfcdk just builds and runs templates. The Automation API executes your code in process, meaning that you can debug it, use your favorite frameworks, etc.
But in case of Pulumi - there is no interim DSL generated right?This is correct, there is no intermediate with Pulumi. We execute your code directly, and that builds the cloud resource graph. Once the resource graph is built, the pulumi engine takes care of provisioning cloud resources.
So the infra deployment capability is provided by the lib as a feature and does not need an extra step of running the deployerYes, with Automation API you create
stack
objects, and are able to call stack.up()
to do the deployment programmatically and get the results.