Skip to content

Commit

Permalink
Merge pull request #7 from masterpointio/additional_security_group_ids
Browse files Browse the repository at this point in the history
feat(networking): allow adding additional security groups to the Tailscale instance
  • Loading branch information
kevcube authored Oct 17, 2023
2 parents f285e30 + 64f2aef commit 6ccded3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
9 changes: 5 additions & 4 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@ module "tailscale_subnet_router" {
context = module.this.context
tags = module.this.tags

vpc_id = var.vpc_id
subnet_ids = var.subnet_ids
key_pair_name = var.key_pair_name
create_run_shell_document = var.create_run_shell_document
vpc_id = var.vpc_id
subnet_ids = var.subnet_ids
key_pair_name = var.key_pair_name
additional_security_group_ids = var.additional_security_group_ids
create_run_shell_document = var.create_run_shell_document

session_logging_kms_key_alias = var.session_logging_kms_key_alias
session_logging_enabled = var.session_logging_enabled
Expand Down
6 changes: 6 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ variable "subnet_ids" {
description = "The Subnet IDs which the Tailscale Subnet Router EC2 instance will run in. These *should* be private subnets."
}

variable "additional_security_group_ids" {
default = []
type = list(string)
description = "Additional Security Group IDs to associate with the Tailscale Subnet Router EC2 instance."
}

variable "create_run_shell_document" {
default = true
type = bool
Expand Down

0 comments on commit 6ccded3

Please sign in to comment.