Skip to content

Comments

Implement Replacement Trigger support for YAML SDK#919

Open
i-am-tom wants to merge 8 commits intomainfrom
i-am-tom/replacement-triggers
Open

Implement Replacement Trigger support for YAML SDK#919
i-am-tom wants to merge 8 commits intomainfrom
i-am-tom/replacement-triggers

Conversation

@i-am-tom
Copy link
Contributor

Turns out this is quite easy now all the work has been done in the Go SDK.

@i-am-tom i-am-tom self-assigned this Jan 21, 2026
@i-am-tom i-am-tom requested a review from a team as a code owner January 21, 2026 16:56
Copy link
Member

@iwahbe iwahbe left a comment

Choose a reason for hiding this comment

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

This looks good. Let's make sure that we remember to crawl the type-checker through the option, so that the inputs to replacementTrigger are type checked.

It's also failling CI:

    --- FAIL: TestLanguage/l2-resource-option-replacement-trigger (0.01s)
        language_test.go:265: 
            	Error Trace:	/home/runner/work/pulumi-yaml/pulumi-yaml/cmd/pulumi-language-yaml/language_test.go:265
            	Error:      	Received unexpected error:
            	            	rpc error: code = Unknown desc = sdk snapshot validation for output: walk expected dir: lstat testdata/sdks/output-23.0.0: no such file or directory
            	Test:       	TestLanguage/l2-resource-option-replacement-trigger

For an example of a new resource option being added to this repo, see #873.

@i-am-tom i-am-tom changed the base branch from main to i-am-tom/yaml-fix January 22, 2026 12:41
Base automatically changed from i-am-tom/yaml-fix to main January 27, 2026 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants