Skip to content

Commit

Permalink
docs: fix import example for adguard_config (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
gmichels authored Jan 2, 2024
1 parent c694cb5 commit b3d3e8e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docs/resources/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ Read-Only:
Import is supported using the following syntax:

```shell
# DNS config can be imported by specifying the ID as `1`
# NOTE: there can only be 1 (one) `adguard_dns_config` resource, hence the hardcoded ID
terraform import adguard_dns_config.test "1"
# Config can be imported by specifying the ID as `1`
# NOTE: there can only be 1 (one) `adguard_config` resource, hence the hardcoded ID
terraform import adguard_config.test "1"
```
6 changes: 3 additions & 3 deletions examples/resources/adguard_config/import.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# DNS config can be imported by specifying the ID as `1`
# NOTE: there can only be 1 (one) `adguard_dns_config` resource, hence the hardcoded ID
terraform import adguard_dns_config.test "1"
# Config can be imported by specifying the ID as `1`
# NOTE: there can only be 1 (one) `adguard_config` resource, hence the hardcoded ID
terraform import adguard_config.test "1"

0 comments on commit b3d3e8e

Please sign in to comment.