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 "+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.12.3
provider.azurerm v1.31.0
Affected Resource(s)
azurerm_monitor_metric_alertrule
Terraform Configuration Files
resource"azurerm_monitor_metric_alertrule""alertrule" {
resource_group_name="REDACTED_RESOURCE_GROUP"location="eastus"name="myalert"description="alert for reproduce a bug"enabled=falseresource_id="/subscriptions/REDACTED_SUBSCRIPTION_ID/resourceGroups/REDACTED_RESOURCE_GROUP/providers/Microsoft.Web/sites/REDACTED_APP_SERVICE"metric_name="Requests"operator="GreaterThan"threshold=5000aggregation="Maximum"period="PT5M"email_action {
custom_emails=["REDACTED_EMAIL_ADDRESS"]
}
}
Debug Output
EDIT: Other issues found when trying to create a debug output. WIll supply new gist when that is sorted out.
Panic Output
N/A
Expected Behavior
Alert should have been created without any error. Please note that this worked yesterday. This issue seems awfull similar to issue #3739
Actual Behavior
Error: insights.AlertRulesClient#CreateOrUpdate: Failure responding to request: StatusCode=404 -- Original Error: autorest/azure: error response cannot be parsed: "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\"/>\r\n<title>404 - File or directory not found.</title>\r\n<style type=\"text/css\">\r\n<!--\r\nbody{margin:0;font-size:.7em;font-family:Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;}\r\nfieldset{padding:0 15px 10px 15px;} \r\nh1{font-size:2.4em;margin:0;color:#FFF;}\r\nh2{font-si" error: invalid character '<' looking for beginning of value
on ../modules/monitor_metric_alertrule/main.tf line 1, in resource "azurerm_monitor_metric_alertrule" "alertrule":
1: resource "azurerm_monitor_metric_alertrule" "alertrule" {
Steps to Reproduce
terraform init && terraform apply
Important Factoids
No
References
Similar to an Cosmos DB issue that was solved a few days ago:
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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks!
ghost
locked and limited conversation to collaborators
Aug 2, 2019
Community Note
Terraform (and AzureRM Provider) Version
Terraform v0.12.3
Affected Resource(s)
azurerm_monitor_metric_alertrule
Terraform Configuration Files
Debug Output
EDIT: Other issues found when trying to create a debug output. WIll supply new gist when that is sorted out.
Panic Output
N/A
Expected Behavior
Alert should have been created without any error. Please note that this worked yesterday. This issue seems awfull similar to issue #3739
Actual Behavior
Steps to Reproduce
terraform init && terraform apply
Important Factoids
No
References
Similar to an Cosmos DB issue that was solved a few days ago:
The text was updated successfully, but these errors were encountered: