terraform-provider-stackitp.../docs/resources/loadbalancer_observability_credential.md
Alexander Dahmen 721e10a02f
chore(examples): Add import examples for all resources (#939)
* chore(examples): Add import examples for all resources

Signed-off-by: Alexander Dahmen <alexander.dahmen@inovex.de>

* Add guide: How to import resources

Signed-off-by: Alexander Dahmen <alexander.dahmen@inovex.de>

---------

Signed-off-by: Alexander Dahmen <alexander.dahmen@inovex.de>
2025-08-08 14:03:27 +02:00

2.1 KiB

page_title subcategory description
stackit_loadbalancer_observability_credential Resource - stackit Load balancer observability credential resource schema. Must have a region specified in the provider configuration. These contain the username and password for the observability service (e.g. Argus) where the load balancer logs/metrics will be pushed into

stackit_loadbalancer_observability_credential (Resource)

Load balancer observability credential resource schema. Must have a region specified in the provider configuration. These contain the username and password for the observability service (e.g. Argus) where the load balancer logs/metrics will be pushed into

Example Usage

resource "stackit_loadbalancer_observability_credential" "example" {
  project_id   = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
  display_name = "example-credentials"
  username     = "example-user"
  password     = "example-password"
}

# Only use the import statement, if you want to import an existing loadbalancer observability credential
import {
  to = stackit_loadbalancer_observability_credential.import-example
  id = "${var.project_id},${var.region},${var.credentials_ref}"
}

Schema

Required

  • display_name (String) Observability credential name.
  • password (String) The username for the observability service (e.g. Argus) where the logs/metrics will be pushed into.
  • project_id (String) STACKIT project ID to which the load balancer observability credential is associated.
  • username (String) The password for the observability service (e.g. Argus) where the logs/metrics will be pushed into.

Optional

  • region (String) The resource region. If not defined, the provider region is used.

Read-Only

  • credentials_ref (String) The credentials reference is used by the Load Balancer to define which credentials it will use.
  • id (String) Terraform's internal resource ID. It is structured as "project_id","region","credentials_ref".