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: Missing required argument
│
│ on bug.tf line 91, in resource "azurerm_application_gateway" "network":
│ 91: backend_http_settings {
│
│ The argument "request_timeout" is required, but no definition was found.
Apply the attached terraform and all the resources will create successfully.
Immediately rerun the attached terraform and output should be "Terraform has compared your real infrastructure against your configuration and found no differences, so no changes are needed."
Actual Behaviour
Apply the attached terraform and all the resources create successfully with no error regarding the missing "request_timeout"
Immediately re-apply the attached terraform and Terraform will want to recreate the backend_http_settings even though nothing has changed (except of course azurerm thinks request_timeout needs to be changed).
Repeat the terraform apply and Terraform will want to recreate the backend_http_settings and so on and so on forever.
# azurerm_application_gateway.network will be updated in-place
~ resource "azurerm_application_gateway" "network" {
id = "/subscriptions/676688c8-2d93-4721-9cd0-19072f82bca8/resourceGroups/example-resources/providers/Microsoft.Network/applicationGateways/example-appgateway"
name = "example-appgateway"
tags = {}
# (7 unchanged attributes hidden)
- backend_http_settings {
- cookie_based_affinity = "Disabled" -> null
- id = "/subscriptions/676688c8-2d93-4721-9cd0-19072f82bca8/resourceGroups/example-resources/providers/Microsoft.Network/applicationGateways/example-appgateway/backendHttpSettingsCollection/example-network-be-htst" -> null
- name = "example-network-be-htst" -> null
- path = "/path1/" -> null
- pick_host_name_from_backend_address = false -> null
- port = 80 -> null
- protocol = "Http" -> null
- request_timeout = 30 -> null
- trusted_root_certificate_names = [] -> null
}
+ backend_http_settings {
+ cookie_based_affinity = "Disabled"
+ id = (known after apply)
+ name = "example-network-be-htst"
+ path = "/path1/"
+ pick_host_name_from_backend_address = false
+ port = 80
+ probe_id = (known after apply)
+ protocol = "Http"
+ request_timeout = 60
+ trusted_root_certificate_names = []
}
# (8 unchanged blocks hidden)
}
Plan: 0 to add, 1 to change, 0 to destroy.
Steps to Reproduce
terraform apply
terraform apply
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered:
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.1.9
AzureRM Provider Version
3.5.0
Affected Resource(s)/Data Source(s)
azurerm_application_gateway
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
Actual Behaviour
Steps to Reproduce
terraform apply
terraform apply
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: