Skip to content

Commit

Permalink
docs: resource import
Browse files Browse the repository at this point in the history
closes #14
  • Loading branch information
malhussan committed Jun 11, 2024
1 parent 042fe20 commit 05fa31a
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/resources/project.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,12 @@ Optional:
- `payment_method_identifier` (String)
- `substitute_payment_method_identifier` (String)
- `tags` (Map of List of String)

## Import

Import is supported using the following syntax:

```shell
# import via full project identifier <workspace-identifier>.<project-identifier>
terraform import 'meshstack_project.example' 'my-workspace-identifier.my-project-identifier'
```
9 changes: 9 additions & 0 deletions docs/resources/tenant.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,12 @@ Read-Only:

- `key` (String)
- `value` (Number)

## Import

Import is supported using the following syntax:

```shell
# import via full tenant identifier <workspace-identifier>.<project-identifier>.<full-platform-identifier>
terraform import 'meshstack_tenant.example' 'my-workspace-identifier.my-project-identifier.my-platform-identifier'
```
2 changes: 2 additions & 0 deletions examples/resources/meshstack_project/import.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# import via full project identifier <workspace-identifier>.<project-identifier>
terraform import 'meshstack_project.example' 'my-workspace-identifier.my-project-identifier'
2 changes: 2 additions & 0 deletions examples/resources/meshstack_tenant/import.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# import via full tenant identifier <workspace-identifier>.<project-identifier>.<full-platform-identifier>
terraform import 'meshstack_tenant.example' 'my-workspace-identifier.my-project-identifier.my-platform-identifier'

0 comments on commit 05fa31a

Please sign in to comment.