You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It remains the case that Plugin Framework based resources do not implement the detailedDiff computation as yet, which can lead to sub-optimal experiences for users of these resources. For example, since Pulumi CLI does not yet natively understand the Set data type, making changes to properties typed as Set will show extraneously long diffs (this is essentially #186 but specifically for Plugin Framework based resources).
Example
For a worked example, let us consider an aws.appconfig.Environment resource which is an example of a resource that is using Plugin Framework and has a Set-typed property.
Note that only one element was removed from the user program, but the diff is confusing because four entries are shown.
Output of pulumi about
CLI
Version 3.141.0
Go Version go1.23.3
Go Compiler gc
Plugins
KIND NAME VERSION
resource aws 6.63.0
resource awsx 2.19.0
resource docker 4.5.7
resource docker 3.6.1
language nodejs unknown
Host
OS darwin
Version 14.6.1
Arch arm64
This project is written in nodejs: executable='/run/current-system/sw/bin/node' version='v20.18.0'
Current Stack: anton-pulumi-corp/aws-appconfig-set-diffs/dev
TYPE URN
pulumi:pulumi:Stack urn:pulumi:dev::aws-appconfig-set-diffs::pulumi:pulumi:Stack::aws-appconfig-set-diffs-dev
pulumi:providers:aws urn:pulumi:dev::aws-appconfig-set-diffs::pulumi:providers:aws::default_6_63_0
aws:cloudwatch/metricAlarm:MetricAlarm urn:pulumi:dev::aws-appconfig-set-diffs::aws:cloudwatch/metricAlarm:MetricAlarm::metricalarm4
aws:cloudwatch/metricAlarm:MetricAlarm urn:pulumi:dev::aws-appconfig-set-diffs::aws:cloudwatch/metricAlarm:MetricAlarm::metricalarm5
aws:appconfig/application:Application urn:pulumi:dev::aws-appconfig-set-diffs::aws:appconfig/application:Application::example
aws:cloudwatch/metricAlarm:MetricAlarm urn:pulumi:dev::aws-appconfig-set-diffs::aws:cloudwatch/metricAlarm:MetricAlarm::metricalarm1
aws:cloudwatch/metricAlarm:MetricAlarm urn:pulumi:dev::aws-appconfig-set-diffs::aws:cloudwatch/metricAlarm:MetricAlarm::metricalarm2
aws:iam/role:Role urn:pulumi:dev::aws-appconfig-set-diffs::aws:iam/role:Role::appconfig-monitoring-role
aws:cloudwatch/metricAlarm:MetricAlarm urn:pulumi:dev::aws-appconfig-set-diffs::aws:cloudwatch/metricAlarm:MetricAlarm::metricalarm3
aws:appconfig/environment:Environment urn:pulumi:dev::aws-appconfig-set-diffs::aws:appconfig/environment:Environment::example
Found no pending operations associated with dev
Backend
Name pulumi.com
URL https://app.pulumi.com/anton-pulumi-corp
User anton-pulumi-corp
Organizations anton-pulumi-corp, moolumi, demo, pulumi
Token type personal
Dependencies:
NAME VERSION
@pulumi/aws 6.63.0
@pulumi/awsx 2.19.0
@pulumi/pulumi 3.142.0
@types/node 18.19.67
typescript 5.7.2
Pulumi locates its logs in /var/folders/gd/3ncjb1lj5ljgk8xl5ssn_gvc0000gn/T/com.apple.shortcuts.mac-helper// by default
Additional context
Please keep this issue open until there is a bridge release fixing the problem. There was a lot of work done toward this problem:
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered:
What happened?
It remains the case that Plugin Framework based resources do not implement the detailedDiff computation as yet, which can lead to sub-optimal experiences for users of these resources. For example, since Pulumi CLI does not yet natively understand the Set data type, making changes to properties typed as Set will show extraneously long diffs (this is essentially #186 but specifically for Plugin Framework based resources).
Example
For a worked example, let us consider an aws.appconfig.Environment resource which is an example of a resource that is using Plugin Framework and has a Set-typed property.
To reproduce:
This will output:
Note that only one element was removed from the user program, but the diff is confusing because four entries are shown.
Output of
pulumi about
Additional context
Please keep this issue open until there is a bridge release fixing the problem. There was a lot of work done toward this problem:
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: