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

PF previews do not display removed computed properties in previews #2650

Closed
VenelinMartinov opened this issue Nov 21, 2024 · 1 comment · Fixed by #2629
Closed

PF previews do not display removed computed properties in previews #2650

VenelinMartinov opened this issue Nov 21, 2024 · 1 comment · Fixed by #2629
Assignees
Labels
area/plugin-framework Support for Plugin Framework based providers bug/diff Bugs in computing Diffs and planning resource changes kind/bug Some behavior is incorrect or out of spec resolution/fixed This issue was fixed

Comments

@VenelinMartinov
Copy link
Contributor

VenelinMartinov commented Nov 21, 2024

When removing a property which contains a Computed field, we do not display the Computed field at all:

     ~ testprovider:index/test:Test: (update)
        [id=test-id]
        [urn=urn:pulumi:test::project::testprovider:index/test:Test::p]
      ~ keys: [
          - [0]: {
                  - nested: "value"
                  }
         ]

versus TF:

  ~ resource "testprovider_test" "res" {
        id = "test-id"
      - key {
          - computed = "computed-value" -> null
          - nested   = "value" -> null
        }
    }

See TestDetailedDiffSet/block_with_computed_no_state_for_unknown/removed

@pulumi-bot pulumi-bot added the needs-triage Needs attention from the triage team label Nov 21, 2024
@VenelinMartinov VenelinMartinov added kind/bug Some behavior is incorrect or out of spec area/plugin-framework Support for Plugin Framework based providers bug/diff Bugs in computing Diffs and planning resource changes and removed needs-triage Needs attention from the triage team labels Nov 21, 2024
@VenelinMartinov VenelinMartinov changed the title PF previews do not display computed properties in previews PF previews do not display removed computed properties in previews Nov 22, 2024
@pulumi-bot pulumi-bot added the resolution/fixed This issue was fixed label Nov 25, 2024
@pulumi-bot
Copy link
Contributor

This issue has been addressed in PR #2629 and shipped in release v3.97.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/plugin-framework Support for Plugin Framework based providers bug/diff Bugs in computing Diffs and planning resource changes kind/bug Some behavior is incorrect or out of spec resolution/fixed This issue was fixed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants