Skip to content

Commit

Permalink
docs: Add examples for the resource_dns_adlist
Browse files Browse the repository at this point in the history
  • Loading branch information
vaerh committed Sep 19, 2024
1 parent b1ca164 commit d83bcfd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/resources/routeros_ip_dns_adlist/import.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#The ID can be found via API or the terminal
#The command for the terminal is -> :put [/ip/dns/adlist get [print show-ids]]
terraform import routeros_ip_dns_adlist.test "*0"
4 changes: 4 additions & 0 deletions examples/resources/routeros_ip_dns_adlist/resource.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
resource "routeros_dns_adlist" "test" {
url = "https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts"
ssl_verify = false
}

0 comments on commit d83bcfd

Please sign in to comment.