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.
module.resource-group.data.azurerm_role_definition.role_defs["Reader1"]: Still reading... [10s elapsed]
module.resource-group.data.azurerm_role_definition.role_defs["Reader1"]: Still reading... [20s elapsed]
module.resource-group.data.azurerm_role_definition.role_defs["Reader1"]: Still reading... [30s elapsed]
module.resource-group.data.azurerm_role_definition.role_defs["Reader1"]: Still reading... [40s elapsed]
module.resource-group.data.azurerm_role_definition.role_defs["Reader1"]: Still reading... [50s elapsed]
module.resource-group.data.azurerm_role_definition.role_defs["Reader1"]: Still reading... [1m0s elapsed]
module.resource-group.data.azurerm_role_definition.role_defs["Reader1"]: Still reading... [1m10s elapsed]
module.resource-group.data.azurerm_role_definition.role_defs["Reader1"]: Still reading... [1m20s elapsed]
module.resource-group.data.azurerm_role_definition.role_defs["Reader1"]: Still reading... [1m30s elapsed]
module.resource-group.data.azurerm_role_definition.role_defs["Reader1"]: Still reading... [1m40s elapsed]
module.resource-group.data.azurerm_role_definition.role_defs["Reader1"]: Still reading... [1m50s elapsed]
module.resource-group.data.azurerm_role_definition.role_defs["Reader1"]: Still reading... [2m0s elapsed]
module.resource-group.data.azurerm_role_definition.role_defs["Reader1"]: Still reading... [2m10s elapsed]
module.resource-group.data.azurerm_role_definition.role_defs["Reader1"]: Still reading... [2m20s elapsed]
module.resource-group.data.azurerm_role_definition.role_defs["Reader1"]: Still reading... [2m30s elapsed]
module.resource-group.data.azurerm_role_definition.role_defs["Reader1"]: Still reading... [2m40s elapsed]
Expected Behaviour
It should stop by timeout
Actual Behaviour
No response
Steps to Reproduce
Define a Terraform configuration that uses the azurerm_role_definition data with wrong name and source with a timeouts block:
data "azurerm_role_definition" "role_defs" {
for_each = toset(["Reader", "Contributor"])
name = each.value
scope = "/subscriptions/<subscription_id>"
timeouts {
read = "1m"
}
}
Apply the configuration with terraform apply.
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered:
Thanks for bringing this up. It's a known issue with the Terraform Plugin SDK v2: GitHub Issue #1038. You can subscribe to that issue for updates. Unfortunately, the Plugin SDK v2 is not actively maintained, so it may take longer to resolve. However, AzureRM might migrate to the Terraform Framework SDK in the future, which could automatically fix the issue.
Is there an existing issue for this?
Community Note
Terraform Version
1.10.4
AzureRM Provider Version
v4.13.0-v4.16
Affected Resource(s)/Data Source(s)
azurerm_role_definition
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
It should stop by timeout
Actual Behaviour
No response
Steps to Reproduce
Define a Terraform configuration that uses the azurerm_role_definition data with wrong name and source with a timeouts block:
data "azurerm_role_definition" "role_defs" {
for_each = toset(["Reader", "Contributor"])
name = each.value
scope = "/subscriptions/<subscription_id>"
timeouts {
read = "1m"
}
}
Apply the configuration with terraform apply.
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: