* 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>
15 lines
No EOL
705 B
HCL
15 lines
No EOL
705 B
HCL
resource "stackit_observability_instance" "example" {
|
|
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
|
|
name = "example-instance"
|
|
plan_name = "Observability-Monitoring-Medium-EU01"
|
|
acl = ["1.1.1.1/32", "2.2.2.2/32"]
|
|
metrics_retention_days = 30
|
|
metrics_retention_days_5m_downsampling = 10
|
|
metrics_retention_days_1h_downsampling = 5
|
|
}
|
|
|
|
# Only use the import statement, if you want to import an existing observability instance
|
|
import {
|
|
to = stackit_observability_instance.import-example
|
|
id = "${var.project_id},${var.observability_instance_id}"
|
|
} |