diff --git a/octopus-samples-instances/aws-base-infrastructure-terraform/network-security-groups.tf b/octopus-samples-instances/aws-base-infrastructure-terraform/network-security-groups.tf index 624f3f7..38fd69c 100644 --- a/octopus-samples-instances/aws-base-infrastructure-terraform/network-security-groups.tf +++ b/octopus-samples-instances/aws-base-infrastructure-terraform/network-security-groups.tf @@ -72,7 +72,7 @@ resource "aws_security_group" "samples_security_group" { from_port = 10933 to_port = 10933 protocol = "tcp" - cidr_blocks = [aws_vpc.solutions_vpc.cidr_block] + cidr_blocks = [aws_vpc.solutions_vpc.cidr_block, var.var.octopus_cloud_static_cidr] #ipv6_cidr_blocks = [aws_vpc.solutions_vpc.ipv6_cidr_block] } diff --git a/octopus-samples-instances/aws-base-infrastructure-terraform/variables.tf b/octopus-samples-instances/aws-base-infrastructure-terraform/variables.tf index 48db37c..7e6891d 100644 --- a/octopus-samples-instances/aws-base-infrastructure-terraform/variables.tf +++ b/octopus-samples-instances/aws-base-infrastructure-terraform/variables.tf @@ -62,4 +62,8 @@ variable "aws_sqlserver_administrator_name" { variable "aws_sqlserver_administrator_password" { type = string +} + +variable "octopus_cloud_static_cidr" { + type = string } \ No newline at end of file