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_redis_cache: error setting patch_schedule/maintenance_window #12620

Closed
etiennetremel opened this issue Jul 16, 2021 · 2 comments · Fixed by #12666
Closed

azurerm_redis_cache: error setting patch_schedule/maintenance_window #12620

etiennetremel opened this issue Jul 16, 2021 · 2 comments · Fixed by #12666

Comments

@etiennetremel
Copy link

Community Note

  • 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 "+1" or "me too" comments, 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

Terraform (and AzureRM Provider) Version

  • Terraform v0.15.4
  • AzureRM v2.68.0

Affected Resource(s)

  • azurerm_redis_cache

Terraform Configuration Files

data "azurerm_redis_cache" "redis" {
  name                = "my-redis-instance"
  resource_group_name = "my-resource-group"
}

Debug Output

With a simple data block, I'm seeing the following error since the last release of AzureRM, was working fine before:

│ Error: setting `patch_schedule`: Invalid address to set: []string{"patch_schedule", "0", "maintenance_window"}
│
│   with data.azurerm_redis_cache.redis,
│   on main.tf line 12, in data "azurerm_redis_cache" "redis":
│   12: data "azurerm_redis_cache" "redis" {
│

Expected Behaviour

Should no throw an error?

Actual Behaviour

It's not possible to use the redis data resource anymore.

Steps to Reproduce

  1. terraform apply

Important Factoids

Could be related to this PR: https://github.com/terraform-providers/terraform-provider-azurerm/pull/12472/files

References

@github-actions
Copy link

This functionality has been released in v2.69.0 of the Terraform Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

@github-actions
Copy link

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 have found a problem that seems similar to this, 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 Aug 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
2 participants