Skip to content

Commit

Permalink
feat: allow to disable dnssec (#34)
Browse files Browse the repository at this point in the history
* feat: allow to disable dnssec

* chore: fmt
  • Loading branch information
fabiopadok authored Mar 11, 2024
1 parent 89e01a7 commit 6c793a4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ resource "google_dns_managed_zone" "this" {
// CKV_GCP_16:
// DNSSEC is a feature of the Domain Name System that authenticates responses to domain name lookups. DNSSEC prevents attackers from manipulating or poisoning the responses to DNS requests.
dnssec_config {
state = "on"
state = var.dnssec_state
}
}

Expand Down
6 changes: 6 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,9 @@ variable "records" {
description = "List of your DNS records."
default = {}
}

variable "dnssec_state" {
type = string
description = "DNSSEC State"
default = "on"
}

0 comments on commit 6c793a4

Please sign in to comment.