Skip to content

Commit

Permalink
remove migration cutover security group (#5145)
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsweetman authored Feb 22, 2024
1 parent 50e1c9e commit b7d2914
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 44 deletions.
1 change: 0 additions & 1 deletion terraform/environments/planetfm/locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ locals {
}

baseline_security_groups = {
migration_cutover = local.security_groups.migration_cutover
loadbalancer = local.security_groups.loadbalancer
web = local.security_groups.web
app = local.security_groups.app
Expand Down
43 changes: 0 additions & 43 deletions terraform/environments/planetfm/locals_security_groups.tf
Original file line number Diff line number Diff line change
Expand Up @@ -38,49 +38,6 @@ locals {
security_group_cidrs = local.security_group_cidrs_by_environment[local.environment]

security_groups = {
migration_cutover = {
description = "Security group for migrated instances"
ingress = {
all-from-self = {
description = "Allow all ingress to self"
from_port = 0
to_port = 0
protocol = -1
self = true
}
https = {
description = "443: https ingress"
from_port = 443
to_port = 443
protocol = "TCP"
cidr_blocks = ["10.0.0.0/8"]
security_groups = []
}

rdp = {
description = "3389: Allow RDP ingress"
from_port = 3389
to_port = 3389
protocol = "TCP"
cidr_blocks = ["10.40.50.128/26", "10.40.50.64/26", "10.40.50.0/26"]
security_groups = []
}
}


egress = {
all = {
description = "Allow all egress"
from_port = 0
to_port = 0
protocol = "-1"
cidr_blocks = ["0.0.0.0/0"]
security_groups = []
}
}


}
loadbalancer = {
description = "PlanetFM loadbalancer SG"
ingress = {
Expand Down

0 comments on commit b7d2914

Please sign in to comment.