Skip to content

Commit

Permalink
Adding cloud ip cidr to network security group
Browse files Browse the repository at this point in the history
  • Loading branch information
twerthi committed Aug 18, 2023
1 parent e2c4f1b commit 387aec5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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]
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,8 @@ variable "aws_sqlserver_administrator_name" {

variable "aws_sqlserver_administrator_password" {
type = string
}

variable "octopus_cloud_static_cidr" {
type = string
}

0 comments on commit 387aec5

Please sign in to comment.