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>
This commit is contained in:
parent
e62729679e
commit
721e10a02f
118 changed files with 837 additions and 5 deletions
|
|
@ -23,4 +23,12 @@ resource "stackit_network" "example_non_routed_network" {
|
|||
"key" = "value"
|
||||
}
|
||||
routed = false
|
||||
}
|
||||
|
||||
# Only use the import statement, if you want to import an existing network
|
||||
# Note: There will be a conflict which needs to be resolved manually.
|
||||
# These attributes cannot be configured together: [ipv4_prefix,ipv4_prefix_length,ipv4_gateway]
|
||||
import {
|
||||
to = stackit_network.import-example
|
||||
id = "${var.project_id},${var.network_id}"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue