Skip to content

Commit

Permalink
Added Default Value to the remote_id Variable. Updated the README wit…
Browse files Browse the repository at this point in the history
…h the new Default.
  • Loading branch information
scafeman committed Jun 20, 2023
1 parent 6f18235 commit 043a225
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ This Terraform module will deploy an IPSec VPN Tunnel on an NSX-T Edge Gateway i
| local_ip_address | The local IP address for the IPSec VPN tunnel | string | - | yes |
| local_networks | List of local networks (CIDR blocks) to be included in the tunnel | list(string) | - | yes |
| remote_ip_address | The remote IP address for the IPSec VPN tunnel | string | - | yes |
| remote_id | The remote identifier for the IPSec VPN tunnel | string | - | no |
| remote_id | The remote identifier for the IPSec VPN tunnel | string | "" | no |
| remote_networks | List of remote networks (CIDR blocks) to be included in the tunnel | list(string) | ["0.0.0.0/0"] | no |
| logging | Whether logging is enabled for the IPSec VPN tunnel | bool | false | no |
| authentication_mode | The authentication mode for the IPSec VPN tunnel | string | "PSK" | no |
Expand Down
11 changes: 6 additions & 5 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ variable "name" {
}

variable "description" {
type = string
type = string
default = ""
}

variable "enabled" {
type = bool
type = bool
default = true
}

variable "pre_shared_key" {
type = string
type = string
default = ""
}

Expand All @@ -36,11 +36,12 @@ variable "remote_ip_address" {
}

variable "remote_id" {
type = string
type = string
default = ""
}

variable "remote_networks" {
type = list(string)
type = list(string)
default = ["0.0.0.0/0"]
}

Expand Down

0 comments on commit 043a225

Please sign in to comment.