Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement crosstest.Update (PF) #2846

Open
Tracked by #2843
iwahbe opened this issue Jan 21, 2025 · 0 comments
Open
Tracked by #2843

Implement crosstest.Update (PF) #2846

iwahbe opened this issue Jan 21, 2025 · 0 comments
Labels
kind/engineering Work that is not visible to an external user

Comments

@iwahbe
Copy link
Member

iwahbe commented Jan 21, 2025

A pre-requisite for #2843, we should implement crosstest.Update for PF. The test function will have the signature:

package crosstest

// Update will assert that a provider will observe the same inputs when transitioning a
// resource described by schema from initialState to finalState.
//
// Update is safe to run in parallel.
func Update(t T, schema pschema.Schema, initialState, finalState map[string]cty.Value, options ...UpdateOption)

The test should be added in the newly created github.com/pulumi/pulumi-terraform-bridge/pkg/pf/tests/internal/cross-tests/update.go file.

Configure is a useful example for what this kind of cross-test looks like.

@pulumi-bot pulumi-bot added the needs-triage Needs attention from the triage team label Jan 21, 2025
@iwahbe iwahbe added kind/engineering Work that is not visible to an external user and removed needs-triage Needs attention from the triage team labels Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/engineering Work that is not visible to an external user
Projects
None yet
Development

No branches or pull requests

2 participants