Skip to main content
0.18 brings performance improvements to CDKTF along with improvements to the convert command.

Python performance improvements disable root-level provider imports

When using a Provider in python one could previously import the resource and data source namespaces on the root level. This is no longer possible and the namespaces must be imported through specifying the path in the import. The syntax was supported before as well, so you can change your code within 0.17.x and then upgrade to 0.18.x. Before:
After:

Further support

If you encounter anything that is missing from this guide or not working as expected, please don’t hesitate to file a bug so we can improve this guide. You can also post your question to HashiCorp Discuss using the terraform-cdk category.