Skip to content

Commit

Permalink
lost track
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcalalang committed Jan 11, 2024
1 parent 313f19a commit 7f61cf1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions big-ip/terraform/infrastructure/azureBigipInstances.tf
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ resource "azurerm_network_security_group" "big-ip-management-sg" {
protocol = "Tcp"
source_port_range = "*"
destination_port_range = "22"
source_address_prefixes = ([var.allowed_ips])
source_address_prefixes = tolist([var.allowed_ips])
destination_address_prefix = "*"
}
security_rule {
Expand All @@ -182,7 +182,7 @@ resource "azurerm_network_security_group" "big-ip-management-sg" {
protocol = "Tcp"
source_port_range = "*"
destination_port_range = "443"
source_address_prefixes = ([var.allowed_ips])
source_address_prefixes = tolist([var.allowed_ips])
destination_address_prefix = "*"
}
security_rule {
Expand Down Expand Up @@ -221,7 +221,7 @@ resource "azurerm_network_security_group" "big-ip-external-sg" {
protocol = "Tcp"
source_port_range = "*"
destination_port_range = "443"
source_address_prefixes = ([var.allowed_ips])
source_address_prefixes = tolist([var.allowed_ips])
destination_address_prefix = "*"
}
tags = {
Expand Down
4 changes: 2 additions & 2 deletions big-ip/terraform/infrastructure/variables.tf
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Shared variables

variable "allowed_ips" {
type = list(string)
type = list(any)
description = "Allowed Client IP addresses for management access"
}
variable "allowed_github_ips" {
type = list(string)
type = list(any)
description = "Allowed GitHub action IP addresses for management access"
}
variable "bigip_ready" {
Expand Down

0 comments on commit 7f61cf1

Please sign in to comment.