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

azurerm_storage_share: Fix ID for resource_manager_id #11828

Merged
merged 1 commit into from
May 26, 2021
Merged

azurerm_storage_share: Fix ID for resource_manager_id #11828

merged 1 commit into from
May 26, 2021

Conversation

favoretti
Copy link
Collaborator

@tombuildsstuff Wonder if we need a state migration here too?

Fixes #11624

@ghost ghost added the size/S label May 22, 2021
@magodo
Copy link
Collaborator

magodo commented May 24, 2021

@favoretti I suppose yes, we need to migrate the state as the ID has changed.

@favoretti
Copy link
Collaborator Author

@magodo as discussed with @tombuildsstuff offline just now, we should be fine without a state migration here. Please do call the ID change for the computed value of resource_manager_id in azurerm_storage_share resource in the CHANGELOG when merging.

Thanks!

@tombuildsstuff
Copy link
Member

+1 yeah this shouldn't need a state migration since this is a computed field - but as mentioned above we do need to document that this is changing. The question here is why this changed in the API, was this incorrect in the first place - or is this a breaking change to the API?

@katbyte katbyte added this to the v2.61.0 milestone May 25, 2021
@favoretti
Copy link
Collaborator Author

I might have just shot this one in the head by adding sdkv2 shim to storage, but if/when that one gets in, I'll rebase this.

Copy link
Member

@mbfrahry mbfrahry left a comment

Choose a reason for hiding this comment

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

LGTM!

@mbfrahry mbfrahry changed the title storage: Fix ID for storage_share_resource_manager azurerm_storage_share: Fix ID for resource_manager_id May 26, 2021
@mbfrahry mbfrahry modified the milestones: v2.61.0, v2.62.0 May 26, 2021
@mbfrahry mbfrahry merged commit 32d8a60 into hashicorp:master May 26, 2021
mbfrahry added a commit that referenced this pull request May 26, 2021
@ghost
Copy link

ghost commented May 27, 2021

This has been released in version 2.61.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.61.0"
}
# ... other configuration ...

@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 27, 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.

Wrong value returned for azurerm_storage_share attribute resource_manager_id
5 participants