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
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave comments along the lines of "+1", "me too" or "any updates", they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment and review the contribution guide to help.
No changes. Your infrastructure matches the configuration.
Terraform has compared your real infrastructure against your configuration and found no differences, so no changes are needed.
Actual Behaviour
│ Error: Unsupported argument
│
│ on xx.tf line 838, in resource "azurerm_site_recovery_replicated_vm""xx":
│ 838: managed_disk = [
│
│ An argument named "managed_disk" is not expected here. Did you mean to define a block of type"managed_disk"?
Steps to Reproduce
Pin provider from version 3.108.0 to 3.109.0
Run terraform plan
Important Factoids
Once we revert the provider version back to 3.108.0, we no longer receive the error.
Nevertheless this is a breaking change to the configuration and should have been put behind the 4.0 flag, apologies for that! I've just opened a PR to fix this. If you pin your provider version to v3.108.0 for the time being, you should be able to upgrade to v3.110.0 later in the week without requiring any configuration changes to this resource.
Indeed @beararmy, the changes to the sub-blocks such as target_disk_encryption have also been put behind our 4.0 feature flag in #26437. I would suggest reverting your configuration back to using the attribute assignment something = [{ }] and pinning your provider version to 3.108.0 until 3.110.0 is available.
Is there an existing issue for this?
Community Note
Terraform Version
1.8.5
AzureRM Provider Version
3.109.0
Affected Resource(s)/Data Source(s)
azurerm_site_recovery_replicated_vm
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
No changes. Your infrastructure matches the configuration.
Terraform has compared your real infrastructure against your configuration and found no differences, so no changes are needed.
Actual Behaviour
Steps to Reproduce
Important Factoids
Once we revert the provider version back to 3.108.0, we no longer receive the error.
References
https://github.com/ScentreGroup/infrastructure/pull/4084#issuecomment-2185348916
The text was updated successfully, but these errors were encountered: