Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

Add new transforms docs #4044

Closed
wants to merge 1 commit into from
Closed

Add new transforms docs #4044

wants to merge 1 commit into from

Conversation

Frassle
Copy link
Member

@Frassle Frassle commented Mar 12, 2024

Description

Checklist:

  • I have reviewed the style guide.
  • If blogging, I have reviewed the blogging guide.
  • I have manually confirmed that all new links work.
  • I added aliases (i.e., redirects) for all filename changes.
  • If making css changes, I rebuilt the bundle.

@Frassle Frassle force-pushed the fraser/transforms branch 4 times, most recently from 57d130c to 3868da2 Compare March 15, 2024 08:56
@Frassle Frassle force-pushed the fraser/transforms branch 3 times, most recently from 2190533 to 8d9d6a8 Compare March 20, 2024 16:39
@pulumi-bot
Copy link
Collaborator

Your site preview for commit 8d9d6a8 is ready! 🎉

http://pulumi-hugo-origin-pr-4044-8d9d6a8f.s3-website.us-west-2.amazonaws.com.

@Frassle Frassle force-pushed the fraser/transforms branch from 8d9d6a8 to 4afab44 Compare March 20, 2024 16:53
@pulumi-bot
Copy link
Collaborator

Your site preview for commit 4afab44 is ready! 🎉

http://pulumi-hugo-origin-pr-4044-4afab444.s3-website.us-west-2.amazonaws.com.

@Frassle Frassle marked this pull request as ready for review May 8, 2024 08:02
themes/default/content/docs/concepts/options/_index.md Outdated Show resolved Hide resolved
themes/default/content/docs/concepts/options/transforms.md Outdated Show resolved Hide resolved

Each transform is a callback that gets invoked by the Pulumi engine. It receives the resource type, name, input properties, and resource options. The callback returns a new set of resource input properties and resource options that will be used to construct the resource instead of the original values.

## Transforms vs Transformations
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest we split this into two parts:

  1. A list of differences in capabilities
  2. A migration guide

For the migration guide, I’d love to somehow move it out of the mainline of this page - but not sure how. I almost wonder if we should put it in the transformations page as part of mentioning that that is deprecated, and then cross link it from here?

}
return null;
}
```
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We’ll need these code snippets in all languages.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one only really makes sense for C#. The other languages don't have GetResourceType like this.

@Frassle Frassle force-pushed the fraser/transforms branch 2 times, most recently from b651d1c to b5bc8ff Compare May 9, 2024 14:23
@pulumi-bot
Copy link
Collaborator

Your site preview for commit b5bc8ff is ready! 🎉

http://pulumi-hugo-origin-pr-4044-b5bc8ff1.s3-website.us-west-2.amazonaws.com.

@Frassle Frassle force-pushed the fraser/transforms branch from b5bc8ff to f2b412d Compare May 13, 2024 08:50
@pulumi-bot
Copy link
Collaborator

Your site preview for commit f2b412d is ready! 🎉

http://pulumi-hugo-origin-pr-4044-f2b412d5.s3-website.us-west-2.amazonaws.com.

@Frassle Frassle force-pushed the fraser/transforms branch from f2b412d to 94da6bf Compare May 13, 2024 08:59
@pulumi-bot
Copy link
Collaborator

Your site preview for commit 94da6bf is ready! 🎉

http://pulumi-hugo-origin-pr-4044-94da6bf0.s3-website.us-west-2.amazonaws.com.

@Frassle Frassle force-pushed the fraser/transforms branch from 94da6bf to a20a142 Compare May 13, 2024 09:04
@pulumi-bot
Copy link
Collaborator

Your site preview for commit a20a142 is ready! 🎉

http://pulumi-hugo-origin-pr-4044-a20a142d.s3-website.us-west-2.amazonaws.com.

@Frassle Frassle force-pushed the fraser/transforms branch from a20a142 to 3e433d8 Compare May 13, 2024 09:09
@pulumi-bot
Copy link
Collaborator

Your site preview for commit 3e433d8 is ready! 🎉

http://pulumi-hugo-origin-pr-4044-3e433d8c.s3-website.us-west-2.amazonaws.com.

@Frassle Frassle force-pushed the fraser/transforms branch from 3e433d8 to 43739fc Compare May 13, 2024 09:13
@pulumi-bot
Copy link
Collaborator

Your site preview for commit 43739fc is ready! 🎉

http://pulumi-hugo-origin-pr-4044-43739fce.s3-website.us-west-2.amazonaws.com.

@Frassle Frassle force-pushed the fraser/transforms branch from 43739fc to 7a58c3e Compare May 13, 2024 09:49
@justinvp justinvp self-requested a review May 14, 2024 07:11
@sean1588 sean1588 closed this May 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants