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

Rollout DiffStrategy=PlanState across providers #866

Closed
1 of 13 tasks
t0yv0 opened this issue Mar 6, 2023 · 11 comments
Closed
1 of 13 tasks

Rollout DiffStrategy=PlanState across providers #866

t0yv0 opened this issue Mar 6, 2023 · 11 comments
Labels
kind/engineering Work that is not visible to an external user resolution/wont-fix This issue won't be fixed

Comments

@t0yv0
Copy link
Member

t0yv0 commented Mar 6, 2023

Internal Design Doc

The improved Diff implementation is under a feature flag DiffStrategy to make it easier to roll out across Pulumi providers gradually while mitigating any unexpected consequences. The specific risk with the new Diff implementation is that it's a sensitive method. For example, it that it might introduce unexpected replace plans to existing infrastructure on provider upgrades. The plan is:

@t0yv0 t0yv0 self-assigned this Mar 6, 2023
@ericrudder
Copy link
Member

ericrudder commented Mar 6, 2023 via email

@t0yv0
Copy link
Member Author

t0yv0 commented Mar 6, 2023 via email

@t0yv0
Copy link
Member Author

t0yv0 commented Apr 21, 2023

Check on #1020 possibly related here.

@marco-m
Copy link

marco-m commented May 2, 2023

Hello, for my understanding, since @t0yv0 is unassigned, what is the plan for this issue? Currently the hcloud provider must be used with pulumi up --skip-preview to be able to deploy anything (as mentioned in the first message in this ticket). Thanks!

@t0yv0
Copy link
Member Author

t0yv0 commented May 26, 2023

Hi @marco-m thanks for your feedback, I'm going to prioritize unblocking hcloud specifically given the high impact there. For the remainder of the rollout we will be reconsidering this for Q3.

@marco-m
Copy link

marco-m commented May 26, 2023

@t0yv0 thanks, greatly appreciated!

t0yv0 added a commit that referenced this issue Jun 7, 2023
This change is aimed at fixing pulumi/pulumi-hcloud#175

This provider is early in adopting a feature-flagged change in #866 and uncovered an issue.

Due to technicalities this project is linking code from TF plugins and TF CLI proper. The codebases do not agree on the dependency "github.com/hashicorp/go-cty/cty" vs "github.com/zclconf/go-cty/cty/json", necessitating adapter code. There is a bug being fixed here in the adapter code that converts cty.Value objects across these two packages.

---------

Co-authored-by: Ian Wahbe <[email protected]>
@marco-m
Copy link

marco-m commented Jun 7, 2023

@t0yv0 my first quick tests with
github.com/pulumi/pulumi-hcloud/sdk v1.12.1
github.com/pulumi/pulumi/sdk/v3 v3.69.0
work fine! Will test more in the following days.
Thanks again!

@t0yv0
Copy link
Member Author

t0yv0 commented Jun 7, 2023

Awesome, great to hear. Thanks for getting back so quickly.

@t0yv0
Copy link
Member Author

t0yv0 commented Jun 27, 2023

Noting that pulumi-aws v6.0-alpha is coming out with the flag turned on.

@t0yv0 t0yv0 mentioned this issue Jul 7, 2023
8 tasks
@iwahbe iwahbe added the kind/engineering Work that is not visible to an external user label Jul 13, 2023
@t0yv0
Copy link
Member Author

t0yv0 commented Mar 22, 2024

Closing in favor of #1785 - this provides a yet-closer-to-TF implementation that started rolling out to fix critical issues, and is the best way forward.

@t0yv0 t0yv0 closed this as completed Mar 22, 2024
@pulumi-bot
Copy link
Contributor

Cannot close issue:

  • does not have required labels: resolution/

Please fix these problems and try again.

@pulumi-bot pulumi-bot reopened this Mar 22, 2024
@t0yv0 t0yv0 added the resolution/wont-fix This issue won't be fixed label Mar 22, 2024
@t0yv0 t0yv0 closed this as completed Mar 22, 2024
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 resolution/wont-fix This issue won't be fixed
Projects
None yet
Development

No branches or pull requests

5 participants