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

Set RawConfig on the diff state #319

Merged
merged 1 commit into from
Dec 27, 2023
Merged

Conversation

ulucinar
Copy link
Collaborator

@ulucinar ulucinar commented Dec 26, 2023

Description of your changes

This PR proposes a change where we start setting the RawConfig (in addition to the RawPlan we already set) on the diff state we use while computing the terraform.InstanceDiffs. @sergenyalcin has observed the need to do so while validating the azurerm_web_application_firewall_policy resource with the new upjet runtime architecture.

I have:

  • Read and followed Upjet's contribution process.
  • Run make reviewable to ensure this PR is ready for review.
  • Added backport release-x.y labels to auto-backport this PR if necessary.

How has this code been tested

Tested manually against the azurerm_web_application_firewall_policy resource inupbound/provider-azure.

Signed-off-by: Alper Rifat Ulucinar <[email protected]>
Copy link
Member

@sergenyalcin sergenyalcin left a comment

Choose a reason for hiding this comment

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

Thanks @ulucinar LGTM. I validated this change by testing the network.WebApplicationFirewallPolicy resource.

@ulucinar ulucinar merged commit 4cb45f9 into crossplane:main Dec 27, 2023
7 checks passed
@ulucinar ulucinar deleted the diffstate-config branch December 27, 2023 12:08
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