Commit Graph

2 Commits

Author SHA1 Message Date
Fraser Waters 97d94658c1
Refactor transformation tests and add Go test ()
This removes the dynamic resources from the transformation tests and
just uses the testprovider instead. As such we can now also write the Go
transform test in pretty much exactly the same way in the same place.

I've removed the golang_sdk test from lifecycletest has it's now covered
by this integration test.
2023-12-16 14:06:27 +00:00
Luke Hoban 893e51d0ce
Add Python resource transformations support ()
Adds Python support for resource transformations aligned with the existing NodeJS support in .

This PR also moves processing of transformations to earlier in the resource construction process (for both NodeJS and Python) to ensure that invariants established in the constructor cannot be violated by transformations. This change can technically be a breaking change, but given that (a) the transformations features was just released in 1.3.0 and (b) the cases where this is a breaking change are uncommon and unlikely to have been reliable anyway - it feels like a change we should make now.

Fixes .
2019-10-14 19:35:00 -05:00