Skip to content

Commit

Permalink
Feature/wireguard cidr (#25)
Browse files Browse the repository at this point in the history
* Output WireGuard CIDR

* Fixed a bug
  • Loading branch information
michaelmccarthydev authored Jan 20, 2025
1 parent a7eb9b1 commit 7262f77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform-aws-wireguard/output.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ output "autoscaling_group" {
}

output "wireguard_cidr" {
value = cidrsubnet(var.wireguard_cidr, 0, 0)
value = cidrsubnet(var.wireguard_interface_address, 0, 0)
description = "WireGuard CIDR"
}

0 comments on commit 7262f77

Please sign in to comment.