From 359e14542f5defc01572f308a51ab8af868e16cc Mon Sep 17 00:00:00 2001 From: Fraser Waters Date: Fri, 17 May 2024 14:37:19 -0700 Subject: [PATCH] Transforms blog --- .../index.md | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 content/blog/announcing-new-transform-callbacks/index.md diff --git a/content/blog/announcing-new-transform-callbacks/index.md b/content/blog/announcing-new-transform-callbacks/index.md new file mode 100644 index 000000000000..113cb68a0165 --- /dev/null +++ b/content/blog/announcing-new-transform-callbacks/index.md @@ -0,0 +1,23 @@ +--- +title: "Announcing new transform callbacks" +date: 2024-05-15 +meta_desc: Transform callbacks are a rebuild of the transformations system to work for Multi-Language Components +meta_image: meta.png +authors: + - fraser-waters +tags: + - features +--- + +Pulumi has supported a [transformations](/docs/concepts/resources#transformations) system for a number of years now. This has proved to be a powerful and flexible escape hatch for editing resource properties across your entire program. + +However it was written before the advent of Multi-Language Components (MLCs) and functioned entirely on in-memory data structures, a sensible choice at the time but impossible to extend to work with the cross process nature of MLCs. + +We've now written a new system based on a new "callback" system which allows the Pulumi engine to call back into your user program to answer requests. + + + +This new system is intended to fully replace the old transformations system. We've written up some guides on the differences between the two systems in the new [docs](/docs/concepts/options/transforms/#transforms-vs-transformations). + +We'll continue supporting the current transformations system going forward, but given the expected growth in MLCs and the soon to be released Programs as Components feature users will want to prefer using the new system. Only the new system will work correctly with resources created in MLCs and Programs as Components. +