From e7d8aabd8b73c84f65e855d9e123025a71c03310 Mon Sep 17 00:00:00 2001 From: Danny Heinrich Date: Wed, 29 May 2024 11:53:50 +0200 Subject: [PATCH 1/4] fix(*): Add dns_servers as configuration option Signed-off-by: Danny Heinrich --- main.tf | 1 + variables.tf | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/main.tf b/main.tf index 458cd5f..8ac56ff 100644 --- a/main.tf +++ b/main.tf @@ -171,6 +171,7 @@ resource "aws_ec2_client_vpn_endpoint" "default" { security_group_ids = concat([aws_security_group.this[0].id], var.security_group_ids) vpn_port = var.vpn_port self_service_portal = var.self_service_portal + dns_servers = var.dns_servers authentication_options { type = var.authentication_type diff --git a/variables.tf b/variables.tf index b17c68c..5ad7da9 100644 --- a/variables.tf +++ b/variables.tf @@ -220,3 +220,10 @@ variable "enable_security_group" { default = true description = "create for security group module this value is enable 'true'" } + +variable "dns_servers" { + 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." +} + From 3880443f2c2b1c072693e2b4cb3d53f33be36e59 Mon Sep 17 00:00:00 2001 From: Danny Heinrich Date: Wed, 29 May 2024 11:59:27 +0200 Subject: [PATCH 2/4] fix(*): Fix version constraint Signed-off-by: Danny Heinrich --- versions.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/versions.tf b/versions.tf index 3d21c08..cd9c757 100644 --- a/versions.tf +++ b/versions.tf @@ -1,6 +1,6 @@ # Terraform version terraform { - required_version = ">= 1.6.6" + required_version = ">= 1.5.7" required_providers { aws = { From 8d103d550802175dab30519c769043f7f28dfe45 Mon Sep 17 00:00:00 2001 From: Anmol Nagpal <4303310+anmolnagpal@users.noreply.github.com> Date: Mon, 12 Aug 2024 09:09:46 -0400 Subject: [PATCH 3/4] Update versions.tf --- versions.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/versions.tf b/versions.tf index cd9c757..3d21c08 100644 --- a/versions.tf +++ b/versions.tf @@ -1,6 +1,6 @@ # Terraform version terraform { - required_version = ">= 1.5.7" + required_version = ">= 1.6.6" required_providers { aws = { From aafe797f02d74b237890c627acfbb6208b09f846 Mon Sep 17 00:00:00 2001 From: nileshgadgi Date: Thu, 29 Aug 2024 22:08:51 +0530 Subject: [PATCH 4/4] fix: rollback version back to previous one --- versions.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/versions.tf b/versions.tf index 3d21c08..cd9c757 100644 --- a/versions.tf +++ b/versions.tf @@ -1,6 +1,6 @@ # Terraform version terraform { - required_version = ">= 1.6.6" + required_version = ">= 1.5.7" required_providers { aws = {