-
Notifications
You must be signed in to change notification settings - Fork 29
Description
Description
Hi, I'm currently in setting up observability_instance_alert_config (Resource) and discovered a missing setting. In the API-Docs routes_create there is the boolean continue
mentioned. I created some routes and checked them with Bruno API client and got "continue": false
as output. This setting /behaviour is missing in the terraform provider and docs. There are also some information you miss if you don't read the API docs as well.
Steps to reproduce
locals {
alert_config = {
route = {
receiver = "EmailStackit"
repeat_interval = "1m"
routes = [
{
receiver = "EmailStackit"
repeat_interval = "1m"
}
}
]
}
receivers = [
{
name = "EmailStackit"
email_configs = [
{
to = "[email protected]"
}
]
}
}
]
}
]
}
}
- Run
terraform apply
with this local.alert_config forresource "stackit_observability_instance"
- Run GET
https://api.argus.eu01.stackit.cloud/v1/projects/{{projectId}}/instances/{{instanceId}}/alertconfigs/routes/{{receiver}}
in API Client.
Actual behavior
I can't change the boolean continue
even if I write it in my terraform code.
There is also not mentioned what other default values will be set when apply code. This is also from my GET request:
"groupWait": "30s", "groupInterval": "5m",
These params are documented as optional and only the 5m of "groupInterval" can be read in the docs. But only as hint that ~5m is a normal behaviour. In API docs this is better explained.
Expected behavior
Give us the same options as described in the API docs. Also please make sure that the hints and default values are documented in terraform docs as well.
Environment
- OS: WSL Ubuntu Distro
- Terraform version:
v1.12.2
- Version of the STACKIT Terraform provider:
v0.58.2