refact: rename orga
This commit is contained in:
@@ -23,7 +23,7 @@ provider "adguard" {
|
||||
}
|
||||
|
||||
resource "adguard_rewrite" "rewrites" {
|
||||
for_each = var.dns_rewrites
|
||||
for_each = var.adguard_dns_rewrites
|
||||
|
||||
domain = each.key
|
||||
answer = each.value
|
||||
@@ -4,7 +4,7 @@ variable "adguard_pass_path" {
|
||||
default = "home/adguard/admin"
|
||||
}
|
||||
|
||||
variable "dns_rewrites" {
|
||||
variable "adguard_dns_rewrites" {
|
||||
type = map(string)
|
||||
description = "DNS rewrites: domain -> IP"
|
||||
default = {
|
||||
Reference in New Issue
Block a user