Skip to content

Observability instance with a metrics endpoint plan #1206

@ramon-tomas-c

Description

@ramon-tomas-c

Description

When trying to create an observability instance with a free metrics endpoint plan it throws a bad request response

Steps to reproduce

 resource "stackit_observability_instance" "observability" {
   project_id                             = var.stackit_project
   name                                   = "metrics-exporter"
   plan_name                              = "Observability-Metrics-Endpoint-100k-EU01"
   grafana_admin_enabled                  = false
 }
  1. Run terraform with the following provider version
    required_providers {
    stackit = {
    source = "stackitcloud/stackit"
    version = ">=0.73.0"
    }
    }
    }

Actual behavior

Please describe the current behavior of the STACKIT Terraform provider. Don't forget to add detailed information like error messages.

Error: Error creating instance

│ with stackit_observability_instance.observability,
│ on 09_observability.tf line 1, in resource "stackit_observability_instance" "observability":
│ 1: resource "stackit_observability_instance" "observability" {

│ Calling API: 400 Bad Request, status code 400, Body: {"message":"This plan
│ has no Grafana included, therefore it is not possible to configure the
│ default Grafana admin user."}

│ Trace ID: "3b1f3a69d43fd9193abb62652ec82753"

Expected behavior

Being able to create a observability instance with a free metrics endpoint plan

Environment

  • OS:
  • Terraform version (see terraform --version): vX.X.X
  • Version of the STACKIT Terraform provider: vX.X.X

Additional information

Feel free to add any additional information here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions