* 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
490 B
HCL
15 lines
No EOL
490 B
HCL
resource "stackit_opensearch_instance" "example" {
|
|
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
|
|
name = "example-instance"
|
|
version = "2"
|
|
plan_name = "stackit-opensearch-1.2.10-replica"
|
|
parameters = {
|
|
sgw_acl = "193.148.160.0/19,45.129.40.0/21,45.135.244.0/22"
|
|
}
|
|
}
|
|
|
|
# Only use the import statement, if you want to import an existing opensearch instance
|
|
import {
|
|
to = stackit_opensearch_instance.import-example
|
|
id = "${var.project_id},${var.instance_id}"
|
|
} |