generated from hashicorp/terraform-provider-scaffolding
-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add import instructions for project, branch and endpoint resources
Signed-off-by: Dmitry Kisler <[email protected]>
- Loading branch information
Showing
6 changed files
with
183 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
page_title: "{{ .Name }} {{ .Type }} - {{.ProviderName}}" | ||
subcategory: "" | ||
description: |- | ||
{{ .Description }} | ||
--- | ||
|
||
# {{ .Name }} ({{ .Type }}) | ||
|
||
{{ .Description }} | ||
|
||
## Example Usage | ||
|
||
{{ tffile "examples/resources/neon_branch/resource.tf" }} | ||
|
||
{{.SchemaMarkdown}} | ||
|
||
## Import | ||
|
||
The Neon Branch can be imported to the terraform state by its identifier. | ||
|
||
Import using the [import block](https://developer.hashicorp.com/terraform/language/import): | ||
|
||
For example: | ||
|
||
```hcl | ||
import { | ||
to = {{.Name}}.this | ||
id = "br-snowy-mountain-a5jkb18i" | ||
} | ||
``` | ||
|
||
Import using the command `terraform import`: | ||
|
||
```commandline | ||
terraform import {{.Name}}.this br-snowy-mountain-a5jkb18i | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
page_title: "{{ .Name }} {{ .Type }} - {{.ProviderName}}" | ||
subcategory: "" | ||
description: |- | ||
{{ .Description }} | ||
--- | ||
|
||
# {{ .Name }} ({{ .Type }}) | ||
|
||
{{ .Description }} | ||
|
||
## Example Usage | ||
|
||
{{ tffile "examples/resources/neon_endpoint/resource.tf" }} | ||
|
||
{{.SchemaMarkdown}} | ||
|
||
## Import | ||
|
||
The Neon Endpoint can be imported to the terraform state by its identifier. | ||
|
||
Import using the [import block](https://developer.hashicorp.com/terraform/language/import): | ||
|
||
For example: | ||
|
||
```hcl | ||
import { | ||
to = {{.Name}}.this | ||
id = "ep-black-mouse-a64dr7wp" | ||
} | ||
``` | ||
|
||
Import using the command `terraform import`: | ||
|
||
```commandline | ||
terraform import {{.Name}}.this ep-black-mouse-a64dr7wp | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
page_title: "{{ .Name }} {{ .Type }} - {{.ProviderName}}" | ||
subcategory: "" | ||
description: |- | ||
{{ .Description }} | ||
--- | ||
|
||
# {{ .Name }} ({{ .Type }}) | ||
|
||
{{ .Description }} | ||
|
||
## Example Usage | ||
|
||
{{ tffile "examples/resources/neon_project/resource.tf" }} | ||
|
||
{{.SchemaMarkdown}} | ||
|
||
## Import | ||
|
||
The Neon Project can be imported to the terraform state by its identifier. | ||
|
||
Import using the [import block](https://developer.hashicorp.com/terraform/language/import): | ||
|
||
For example: | ||
|
||
```hcl | ||
import { | ||
to = {{.Name}}.this | ||
id = "shiny-cell-31746257" | ||
} | ||
``` | ||
|
||
Import using the command `terraform import`: | ||
|
||
```commandline | ||
terraform import {{.Name}}.this shiny-cell-31746257 | ||
``` |