Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(*): Add dns_servers as configuration option #37

Merged
merged 7 commits into from
Sep 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -222,10 +222,7 @@ variable "enable_security_group" {
}

variable "dns_servers" {
type = list(string)
validation {
condition = length(dns_servers) > 2
error_message = "A Client VPN endpoint can have up to two DNS servers"
}
description = "Information about the DNS servers to be used for DNS resolution"
type = list(string)
default = null
description = "(Optional) Information about the DNS servers to be used for DNS resolution. A Client VPN endpoint can have up to two DNS servers. If no DNS server is specified, the DNS address of the connecting device is used."
}
2 changes: 1 addition & 1 deletion versions.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Terraform version
terraform {
required_version = ">= 1.6.6"
required_version = ">= 1.5.7"
nileshgadgi marked this conversation as resolved.
Show resolved Hide resolved

required_providers {
aws = {
Expand Down
Loading