-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Labels
Description
Description
Error creating stackit_observability_instance
as metrics endpoint related with missing components
Steps to reproduce
resource "stackit_observability_instance" "exporter" {
project_id = var.stackit_project
name = "metrics-exporter"
plan_name = "Observability-Metrics-Endpoint-100k-EU01"
acl = []
metrics_retention_days = 30
metrics_retention_days_5m_downsampling = 10
metrics_retention_days_1h_downsampling = 5
}
This also happens when you use the data with an instance of that type
data "stackit_observability_instance" "exporter" {
project_id = var.stackit_project
instance_id = var.observability_instance_id
}
Actual behavior
I'm retrieving 403 messages related with missing permissions (probably because the instance in this mode doesn't deploy all the components)
Getting metrics retention policy: 403 Forbidden
│ (%!s(*string=0xc0004b2eb0)), status code 403, Body: {"detail":"Instance
│ does not have the right components for the route"}
Expected behavior
No errors