We have discovered that it's nearly impossible to know why reports update is failing.
The error message:
│ Error: Error Updating Report │ │ with doit_report.cost_change_month_on_month["Spending"], │ on main.tf line 170, in resource "doit_report" "cost_change_month_on_month": │ 170: resource "doit_report" "cost_change_month_on_month" { │ │ Could not update report, unexpected error: status: 400, body: <html> │ <head><title>400 Bad Request</title></head> │ <body> │ <center><h1>400 Bad Request</h1></center> │ <hr><center>cloudflare</center> │ </body> │ </html>
There is also no schema validation, so in config you can provide whatever you want and it will apply it... however, next time it will complain that is something wrong with a config...
Hello...
We have discovered that it's nearly impossible to know why reports update is failing. The error message:
│ Error: Error Updating Report │ │ with doit_report.cost_change_month_on_month["Spending"], │ on main.tf line 170, in resource "doit_report" "cost_change_month_on_month": │ 170: resource "doit_report" "cost_change_month_on_month" { │ │ Could not update report, unexpected error: status: 400, body: <html> │ <head><title>400 Bad Request</title></head> │ <body> │ <center><h1>400 Bad Request</h1></center> │ <hr><center>cloudflare</center> │ </body> │ </html>
There is also no schema validation, so in config you can provide whatever you want and it will apply it... however, next time it will complain that is something wrong with a config...