Skip to content

Commit b25438b

Browse files
committed
chore: add new var to config for launch template
1 parent 40ac484 commit b25438b

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,7 @@ module "launch_template" {
290290
pritunl_drop_in_service_file = file("${path.module}/templates/systemd-drop-in-on-failure.conf"),
291291
pritunl_host_id = length(var.host_id) > 0 ? var.host_id : random_string.host_id[0].result
292292
}))
293+
network_interfaces = var.network_interfaces
293294
iam_instance_profile = { arn : aws_iam_instance_profile.this.arn }
294295
ami_id = var.ami == "" ? data.aws_ami.amazon_linux.id : var.ami
295296
key_name = var.key_name

variables.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,12 @@ variable "is_create_private_lb" {
166166
default = true
167167
}
168168

169+
variable "network_interfaces" {
170+
description = "Customize network interfaces to be attached at instance boot time"
171+
type = list(any)
172+
default = []
173+
}
174+
169175
variable "host_id" {
170176
description = "Override PritunlVPN host id with this option, Use with migration only (https://docs.pritunl.com/docs/backup)"
171177
type = string

0 commit comments

Comments
 (0)