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
│ Error: obtaining patch schedules for Redi (Subscription: "6712b72e-9733-4fdf-958f-0a1dc2ee8149"
│ Resource Group Name: "OrgXXX"
│ Redis Name: "RedisTestInstance"): patchschedules.PatchSchedulesClient#Get: Failure responding to request: StatusCode=404 -- Original Error: autorest/azure: Service returned an error. Status=404 Code="ResourceNotFound" Message="There are no patch schedules found for redis cache 'RedisTestInstance'.\r\nRequestID=6acd18d4-860X-4fXX-9378-XXXXXXX"
│
│ with module.main.data.azurerm_redis_cache.rediscache,
│ on ../../../module_cpq/datasources.tf line 26, in data "azurerm_redis_cache""rediscache":
│ 26: data "azurerm_redis_cache""rediscache" {
Expected Behaviour
Run Terraform Plan or Terraform Apply with no error warnings.
Actual Behaviour
The error message indicates that there are no patch schedules found for the Redis cache 'RedisTestInstance', and the error code returned is "404-ResourceNotFound".
However, according to the provider documentation, the patch_schedule is optional. As a result, it's unclear why I am receiving this error, and it seems to contradict what the documentation suggests.
I'm able to resolve the issue by downgrading to azure provider version '3.42.0'
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.
Is there an existing issue for this?
Community Note
Terraform Version
1.3.7
AzureRM Provider Version
v3.43.0
Affected Resource(s)/Data Source(s)
azurerm_redis_cache
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
Run Terraform Plan or Terraform Apply with no error warnings.
Actual Behaviour
The error message indicates that there are no patch schedules found for the Redis cache 'RedisTestInstance', and the error code returned is "404-ResourceNotFound".
However, according to the provider documentation, the
patch_schedule
is optional. As a result, it's unclear why I am receiving this error, and it seems to contradict what the documentation suggests.I'm able to resolve the issue by downgrading to azure provider version '3.42.0'
Steps to Reproduce
terraform plan and terraform plan
Important Factoids
No response
References
#20313
The text was updated successfully, but these errors were encountered: