Breaking changes
Update to .NET 6.0
We updated our C# template to .NET 6.0 as JSII updated recently and dropped support for netcoreapp3.1
:
The runtime library for .NET & generated .NET bindings will no longer support netcoreapp3.1 after this release. Users are advised to upgrade their apps to use net6.0 or net7.0 instead.
from JSII v.1.76.0 release notes
Changes to Terraform function bindings
Terraform functions are now generated based on the JSON schema returned by the new metadata functions
command which is going to be added to the Terraform CLI in version 1.4 (PR #32487, already available in v1.4.0-beta2
).
The following new functions were introduced:
Fn.endswith()
- checks the suffix of a stringFn.startswith()
- checks the prefix of a stringFn.timecmp()
- compares two timestamps
The following functions changed:
Fn.parseInt()
is nowFn.parseint()
to match the format of all other functionsFn.mergeLists()
does not exist anymore, useFn.concat()
insteadFn.mergeMaps()
does not exist anymore, useFn.merge()
instead
As part of this change, we use the same parameter names as Terraform which might require changing keyword arguments in Python.
Fn.join(",", [src.stringResource.result, src.stringResource.result])
Fn.join(separator=",", value=[src.stringResource.result, src.stringResource.result])