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

Fixes bug #10773 #10795

Merged
merged 2 commits into from
Mar 4, 2021
Merged

Conversation

paulomarquesc
Copy link
Contributor

  • Fixing null check for issue related to executing plan in state generated by previous azurerm version (e.g. 2.48.0) where data_protection_replication was not part of the schema yet.
  • Improvement on null and endpoint checks on flattenNetAppVolumeDataProtectionReplication function.

Note: fixes #10773

@ghost ghost added the size/XS label Mar 3, 2021
Copy link
Collaborator

@katbyte katbyte left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@katbyte katbyte added this to the v2.50.0 milestone Mar 3, 2021
Copy link
Contributor

@tombuildsstuff tombuildsstuff left a comment

Choose a reason for hiding this comment

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

hey @paulomarquesc

Thanks for this PR.

Taking a look through on the whole this looks pretty good - however we'll want to remove the if statements around the Set calls to ensure we track when these fields are removed/emptied out - but if we can fix those up this should otherwise be good to go 👍

Thanks!

@paulomarquesc
Copy link
Contributor Author

paulomarquesc commented Mar 3, 2021

Hi @tombuildsstuff, I'm not sure if you're asking to remove the whole if statement since I see only part of the line highlighted, but I believe so because that would be the only way this would work since the API don't even return the props.DataProtection if nothing is set and not testing for it first would case the issue pointed in the opened bug.

@paulomarquesc
Copy link
Contributor Author

@tombuildsstuff, changes are now applied, they make sense, thanks for spotting it.

Copy link
Contributor

@tombuildsstuff tombuildsstuff left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@tombuildsstuff tombuildsstuff merged commit 1bd87df into hashicorp:master Mar 4, 2021
tombuildsstuff added a commit that referenced this pull request Mar 4, 2021
@ghost
Copy link

ghost commented Mar 5, 2021

This has been released in version 2.50.0 of the provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. As an example:

provider "azurerm" {
    version = "~> 2.50.0"
}
# ... other configuration ...

@ghost
Copy link

ghost commented Apr 4, 2021

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks!

@ghost ghost locked as resolved and limited conversation to collaborators Apr 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

azurerm_netapp_volume broken in 2.49
4 participants