Skip to content

Commit

Permalink
Add support for multiple on-premise subnet ranges
Browse files Browse the repository at this point in the history
  • Loading branch information
marcransome committed Jun 22, 2021
1 parent 2ab6823 commit f435917
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion groups/frontend/instance.tf
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ resource "aws_security_group" "services" {
from_port = service.value
to_port = service.value
protocol = "TCP"
cidr_blocks = [var.on_premise_frontend_cidr]
cidr_blocks = var.on_premise_frontend_cidrs
}
}

Expand Down
6 changes: 3 additions & 3 deletions groups/frontend/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@ variable "lvm_block_devices" {
}

# TODO Remove this; this was added for testing Tuxedo services in live using on-premise frontend services
variable "on_premise_frontend_cidr" {
type = string
variable "on_premise_frontend_cidrs" {
type = list(string)
description = "A string representing the CIDR range for on-premise frontend services"
default = ""
default = []
}

variable "region" {
Expand Down

0 comments on commit f435917

Please sign in to comment.