Skip to content

Commit

Permalink
change type to string
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcalalang committed Jan 11, 2024
1 parent e08e730 commit b0ca6e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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 = 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 = 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 = var.allowed_ips
destination_address_prefix = "*"
}
tags = {
Expand Down
2 changes: 1 addition & 1 deletion big-ip/terraform/infrastructure/variables.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Shared variables

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

0 comments on commit b0ca6e9

Please sign in to comment.