Upgrading to CDK for Terraform Version 0.17
0.17 is focused around fixing issues with the AWS Quicksight resources. We also removed the deprecated feature flags that were used to enable potentially breaking changes in previous releases.
AWS Quicksight
A few individual Terraform Resources have very deeply nested schemas with a lot of attributes. This blows up the config classes and slows down the code generation for languages besides TypeScript. To work around this we sometimes limit the depth of the config classes and use any
on deeper levels, and we directly expose some attributes as any
on the top level config class.
aws_quicksight_template.definition
,aws_quicksight_dashboard.definition
, andaws_quicksight_analysis.definition
are set toany
This means when configuring these attributes you need to pass in the configuration as objects and with snake case keys. Alternatively you can also use the escape hatch.
Removal: The feature flags that go into the context
field of the cdktf.json
file were removed
CDKTF used to use feature flags to enable potentially breaking behaviors in a release. These are no longer needed since most of the changes we introduce from here can not be hidden behind feature flags. The behavior for 0.17 is the same as in 0.16 with this configuration:
You can remove these keys from your context
field in your cdktf.json
file.