File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -46,5 +46,28 @@ resource "spectrocloud_virtual_cluster" "cluster" {
4646
4747` ` `
4848
49+ ## Import
50+
51+ In Terraform v1.5.0 and later, use an [` import` block ](https://developer.hashicorp.com /terraform/language/import)
52+ to import the resource {{ .Name }} by using its ` id` with the Palette ` context` separated by a colon. For example:
53+
54+ ` ` ` terraform
55+ import {
56+ to = {{ .Name }}.example
57+ id = "example_id:context"
58+ }
59+ ` ` `
60+
61+ Using ` terraform import` , import the cluster using the ` cluster_name` or ` id` colon separated with ` context` . For example:
62+
63+ ` ` ` console
64+ terraform import {{ .Name }}.example example_id
65+ ` ` `
66+
67+ ` ` ` console
68+ terraform import {{ .Name }}.example cluster_name
69+ ` ` `
70+
71+ Refer to the [Import section](/docs#import) to learn more.
4972
5073{{ .SchemaMarkdown | trimspace }}
You can’t perform that action at this time.
0 commit comments