resource "aws_security_group" "sg-004daf8155467cdf4" {
  description = "GRPS-D2-PGEDB-SG"
  egress = [
    {
      cidr_blocks = [
        "0.0.0.0/0",
      ]
      description      = ""
      from_port        = 443
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 443
    },
    {
      cidr_blocks = [
        "0.0.0.0/0",
      ]
      description      = ""
      from_port        = 80
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 80
    },
    {
      cidr_blocks = [
        "10.11.113.0/26",
        "10.11.113.128/26",
      ]
      description      = ""
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.113.0/26",
        "10.11.113.128/26",
      ]
      description      = ""
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.176.192/27",
      ]
      description      = "To CCSHARE-FF-APP-1A"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.176.192/27",
      ]
      description      = "To CCSHARE-FF-APP-1A"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.12.246.0/25",
      ]
      description      = "To CLSHRD-P CIDR-1"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.12.246.0/25",
      ]
      description      = "To CLSHRD-P CIDR-1"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.12.246.64/26",
        "10.12.237.160/27",
      ]
      description      = "CLOPS-SMTP-EP"
      from_port        = 587
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 587
    },
    {
      cidr_blocks = [
        "10.250.2.0/24",
      ]
      description      = "To CLSHRD-P CIDR-2"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.250.2.0/24",
      ]
      description      = "To CLSHRD-P CIDR-2"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "162.49.203.44/32",
        "162.49.203.45/32",
      ]
      description      = "DNS"
      from_port        = 53
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 53
    },
    {
      cidr_blocks = [
        "162.49.203.44/32",
        "162.49.203.45/32",
      ]
      description      = "DNS"
      from_port        = 53
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 53
    },
    {
      cidr_blocks = [
        "0.0.0.0/0",
      ]
      description      = "NTP"
      from_port        = 123
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 123
    },
    {
      cidr_blocks = [
        "0.0.0.0/0",
      ]
      description      = "NTP"
      from_port        = 123
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 123
    },
  ]
  ingress = [
    {
      cidr_blocks = [
        "10.11.113.187/32",
      ]
      description      = "lsp-rds-pgdbspbmg1-prod-02.cwj2pnzcclfh.eu-central-1.rds.amazonaws.com"
      from_port        = 5432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 5432
    },
    {
      cidr_blocks = [
        "10.11.113.160/28",
      ]
      description      = "Prod PG Clusters subnet1"
      from_port        = 5432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 5432
    },
    {
      cidr_blocks = [
        "10.11.113.176/28",
      ]
      description      = "Prod PG Clusters subnet2"
      from_port        = 5432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 5432
    },
    {
      cidr_blocks = [
        "10.11.113.48/28",
        "10.11.113.32/28",
      ]
      description      = "Postgresql Clusters"
      from_port        = 5432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 5432
    },
    {
      cidr_blocks = [
        "10.11.176.192/27",
      ]
      description      = "From CCSHARE-FF-APP-1A"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.176.192/27",
      ]
      description      = "From CCSHARE-FF-APP-1A"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.12.192.0/23",
      ]
      description      = "SME SMAnalytics"
      from_port        = 5439
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 5439
    },
    {
      cidr_blocks = [
        "10.12.246.0/25",
      ]
      description      = "Shared bastion"
      from_port        = 5432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 5432
    },
    {
      cidr_blocks = [
        "10.12.246.64/27",
      ]
      description      = "SSH from clshrd-bastion01"
      from_port        = 22
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 22
    },
    {
      cidr_blocks = [
        "10.250.2.64/27",
      ]
      description      = "SSH from clshrd-tower01"
      from_port        = 22
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 22
    },
  ]
  name = "GRPS-D2-PGEDB-SG"
  tags = {
    "Business-Unit" = "GRPS"
    "Environment"   = "Dev"
    "Name"          = "GRPS-D2-PGEDB-SG"
    "Owner"         = "Richard Mayer"
    "Project-Code"  = "2000-0497G"
    "Project-Name"  = "GRPS"
    CLOPS_FW        = "NO"

  }
  tags_all = {
    "Business-Unit" = "GRPS"
    "Environment"   = "Dev"
    "Name"          = "GRPS-D2-PGEDB-SG"
    "Owner"         = "Richard Mayer"
    "Project-Code"  = "2000-0497G"
    "Project-Name"  = "GRPS"
    CLOPS_FW        = "NO"
  }
  vpc_id = "vpc-0a688f309559be28f"

}

resource "aws_security_group" "sg-073536fc3f80e0c74" {
  description = "grpsd2-app02-rdx-int-alb-SG"
  egress = [{
    cidr_blocks      = ["10.250.14.0/24", "10.11.113.0/26", "10.11.119.0/25", "10.250.6.0/24"]
    description      = ""
    from_port        = 65535
    ipv6_cidr_blocks = []
    prefix_list_ids  = []
    protocol         = "tcp"
    security_groups  = []
    self             = false
    to_port          = 65535
    }, {
    cidr_blocks      = ["10.250.14.0/24", "10.11.113.0/26", "10.11.119.0/25", "10.250.6.0/24"]
    description      = ""
    from_port        = 65535
    ipv6_cidr_blocks = []
    prefix_list_ids  = []
    protocol         = "udp"
    security_groups  = []
    self             = false
    to_port          = 65535
  }]
  ingress = [{
    cidr_blocks      = ["10.11.0.0/16", "10.12.0.0/16", "162.49.0.0/16", "192.168.10.0/23", "192.168.12.0/24", "192.168.155.0/24", "192.168.227.0/24", "10.250.11.128/28", "10.11.176.0/24"]
    description      = ""
    from_port        = 443
    ipv6_cidr_blocks = []
    prefix_list_ids  = []
    protocol         = "tcp"
    security_groups  = []
    self             = false
    to_port          = 443
    }, {
    cidr_blocks      = ["10.11.113.0/26", "10.11.119.0/25", "10.250.6.0/24", "10.250.14.0/24"]
    description      = "VPC CIDR"
    from_port        = 443
    ipv6_cidr_blocks = []
    prefix_list_ids  = []
    protocol         = "tcp"
    security_groups  = []
    self             = false
    to_port          = 443
  }]
  name = "grpsd2-app02-rdx-int-alb-SG"

  tags = {
    Business-Unit = "GRPS"
    Owner         = "Richard Mayer"
    Project-Code  = "2000-0497G"
    Project-Name  = "GRPS"
    Environment   = "Dev"
    CLOPS_FW      = "NO"
    Name          = "grpsd2-app02-rdx-int-alb-SG"
  }
  tags_all = {
    Business-Unit = "GRPS"
    Owner         = "Richard Mayer"
    Project-Code  = "2000-0497G"
    Project-Name  = "GRPS"
    Environment   = "Dev"
    CLOPS_FW      = "NO"
    Name          = "grpsd2-app02-rdx-int-alb-SG"
  }
  vpc_id = "vpc-0952e13c792d68c54"
}

resource "aws_security_group" "sg-0ecb01a47402a387b" {
  description = "GRPS-D2-SHARED-INT-ALB-SG"
  egress = [{
    cidr_blocks      = ["10.11.113.0/26"]
    description      = "VPC_CIDR"
    from_port        = 65535
    ipv6_cidr_blocks = []
    prefix_list_ids  = []
    protocol         = "tcp"
    security_groups  = []
    self             = false
    to_port          = 65535
    }, {
    cidr_blocks      = ["10.11.113.53/32"]
    description      = "grpsd2-symmetricds01"
    from_port        = 31417
    ipv6_cidr_blocks = []
    prefix_list_ids  = []
    protocol         = "tcp"
    security_groups  = []
    self             = false
    to_port          = 31417
    }, {
    cidr_blocks      = ["10.11.176.192/27", "10.250.2.0/24", "10.12.246.0/25", "10.11.113.0/26"]
    description      = ""
    from_port        = 65535
    ipv6_cidr_blocks = []
    prefix_list_ids  = []
    protocol         = "udp"
    security_groups  = []
    self             = false
    to_port          = 65535
    }, {
    cidr_blocks      = ["10.11.176.192/27"]
    description      = "To CCSHARE-FF-APP-1A"
    from_port        = 65535
    ipv6_cidr_blocks = []
    prefix_list_ids  = []
    protocol         = "tcp"
    security_groups  = []
    self             = false
    to_port          = 65535
    }, {
    cidr_blocks      = ["10.12.246.0/25"]
    description      = "To CLSHRD-P CIDR-1"
    from_port        = 65535
    ipv6_cidr_blocks = []
    prefix_list_ids  = []
    protocol         = "tcp"
    security_groups  = []
    self             = false
    to_port          = 65535
    }, {
    cidr_blocks      = ["10.250.2.0/24"]
    description      = "To CLSHRD-P CIDR-2"
    from_port        = 65535
    ipv6_cidr_blocks = []
    prefix_list_ids  = []
    protocol         = "tcp"
    security_groups  = []
    self             = false
    to_port          = 65535
  }]
  ingress = [{
    cidr_blocks      = ["10.11.0.0/16", "10.0.0.0/8"]
    description      = "SME-EU"
    from_port        = 443
    ipv6_cidr_blocks = []
    prefix_list_ids  = []
    protocol         = "tcp"
    security_groups  = []
    self             = false
    to_port          = 443
    }, {
    cidr_blocks      = ["10.11.0.0/16", "10.12.0.0/16", "162.49.0.0/16", "192.168.0.0/16"]
    description      = ""
    from_port        = 444
    ipv6_cidr_blocks = []
    prefix_list_ids  = []
    protocol         = "tcp"
    security_groups  = []
    self             = false
    to_port          = 444
    }, {
    cidr_blocks      = ["10.11.0.0/16", "10.12.0.0/16", "162.49.0.0/16", "192.168.0.0/16"]
    description      = ""
    from_port        = 445
    ipv6_cidr_blocks = []
    prefix_list_ids  = []
    protocol         = "tcp"
    security_groups  = []
    self             = false
    to_port          = 445
    }, {
    cidr_blocks      = ["10.11.0.0/16", "10.12.0.0/16", "162.49.0.0/16", "192.168.0.0/16"]
    description      = ""
    from_port        = 446
    ipv6_cidr_blocks = []
    prefix_list_ids  = []
    protocol         = "tcp"
    security_groups  = []
    self             = false
    to_port          = 446
    }, {
    cidr_blocks      = ["10.11.176.192/27"]
    description      = ""
    from_port        = 65535
    ipv6_cidr_blocks = []
    prefix_list_ids  = []
    protocol         = "udp"
    security_groups  = []
    self             = false
    to_port          = 65535
    }, {
    cidr_blocks      = ["10.11.176.192/27"]
    description      = "From CCSHARE-FF-APP-1A"
    from_port        = 65535
    ipv6_cidr_blocks = []
    prefix_list_ids  = []
    protocol         = "tcp"
    security_groups  = []
    self             = false
    to_port          = 65535
    }, {
    cidr_blocks      = ["10.12.0.0/16"]
    description      = "SME-US"
    from_port        = 443
    ipv6_cidr_blocks = []
    prefix_list_ids  = []
    protocol         = "tcp"
    security_groups  = []
    self             = false
    to_port          = 443
    }, {
    cidr_blocks      = ["10.12.246.64/27"]
    description      = "SSH from clshrd-bastion01"
    from_port        = 22
    ipv6_cidr_blocks = []
    prefix_list_ids  = []
    protocol         = "tcp"
    security_groups  = []
    self             = false
    to_port          = 22
    }, {
    cidr_blocks      = ["10.250.2.64/27"]
    description      = "SSH from clshrd-tower01"
    from_port        = 22
    ipv6_cidr_blocks = []
    prefix_list_ids  = []
    protocol         = "tcp"
    security_groups  = []
    self             = false
    to_port          = 22
    }, {
    cidr_blocks      = ["162.49.0.0/16"]
    description      = "SME-VPN-1"
    from_port        = 443
    ipv6_cidr_blocks = []
    prefix_list_ids  = []
    protocol         = "tcp"
    security_groups  = []
    self             = false
    to_port          = 443
    }, {
    cidr_blocks      = ["162.49.0.0/16"]
    description      = "SSH from SME-VPN-1"
    from_port        = 22
    ipv6_cidr_blocks = []
    prefix_list_ids  = []
    protocol         = "tcp"
    security_groups  = []
    self             = false
    to_port          = 22
    }, {
    cidr_blocks      = ["192.168.10.0/23"]
    description      = "SME-VPN-2"
    from_port        = 443
    ipv6_cidr_blocks = []
    prefix_list_ids  = []
    protocol         = "tcp"
    security_groups  = []
    self             = false
    to_port          = 443
    }, {
    cidr_blocks      = ["192.168.12.0/24"]
    description      = "SME-VPN-3"
    from_port        = 443
    ipv6_cidr_blocks = []
    prefix_list_ids  = []
    protocol         = "tcp"
    security_groups  = []
    self             = false
    to_port          = 443
    }, {
    cidr_blocks      = ["192.168.155.0/24"]
    description      = "SME-VPN-4"
    from_port        = 443
    ipv6_cidr_blocks = []
    prefix_list_ids  = []
    protocol         = "tcp"
    security_groups  = []
    self             = false
    to_port          = 443
    }, {
    cidr_blocks      = ["192.168.227.0/24"]
    description      = "SME-VPN-5"
    from_port        = 443
    ipv6_cidr_blocks = []
    prefix_list_ids  = []
    protocol         = "tcp"
    security_groups  = []
    self             = false
    to_port          = 443
  }]
  name = "GRPS-D2-SHARED-INT-ALB-SG"

  tags = {
    Business-Unit = "GRPS"
    Environment   = "Dev"
    Project-Code  = "2000-0497G"
    Project-Name  = "GRPS"
    Owner         = "Richard Mayer"
    CLOPS_FW      = "NO"
    Name          = "GRPS-D2-SHARED-INT-ALB-SG"
  }
  tags_all = {
    Business-Unit = "GRPS"
    Environment   = "Dev"
    Project-Code  = "2000-0497G"
    Project-Name  = "GRPS"
    Owner         = "Richard Mayer"
    CLOPS_FW      = "NO"
    Name          = "GRPS-D2-SHARED-INT-ALB-SG"
  }
  vpc_id = "vpc-0952e13c792d68c54"
}

resource "aws_security_group" "sg-00128ec37535daea9" {
  description = "GRPS-D2-RDX-MSK-01-SG"
  egress      = []
  ingress = [
    {
      cidr_blocks = [
        "10.0.0.0/8",
        "162.49.0.0/16",
        "192.168.0.0/16",
      ]
      description      = "BootStrap Port"
      from_port        = 9094
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 9094
    },
    {
      cidr_blocks = [
        "10.0.0.0/8",
        "162.49.0.0/16",
        "192.168.0.0/16",
      ]
      description      = "Zookeeper Port"
      from_port        = 2181
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 2181
    },
    {
      cidr_blocks = [
        "10.0.0.0/8",
      ]
      description      = "gtunxlvz06526.server.arvato-systems.de"
      from_port        = 9998
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 9998
    },
  ]
  name = "GRPS-D2-RDX-MSK-01-SG"
  tags = {
    "Business-Unit" = "GRPS"
    "Environment"   = "Dev"
    "Name"          = "GRPS-D2-RDX-MSK-01-SG"
    "Project-Code"  = "2000-0497G"
    "Project-Name"  = "GRPS"
    CLOPS_FW        = "NO"
  }
  tags_all = {
    "Business-Unit" = "GRPS"
    "Environment"   = "Dev"
    "Name"          = "GRPS-D2-RDX-MSK-01-SG"
    "Project-Code"  = "2000-0497G"
    "Project-Name"  = "GRPS"
    CLOPS_FW        = "NO"
  }
  vpc_id = "vpc-0a688f309559be28f"

}

resource "aws_security_group" "sg-0c5a6c91b08b599c5" {
  description = "EKS created security group applied to ENI that is attached to EKS Control Plane master nodes, as well as any managed workloads."
  egress = [
    {
      cidr_blocks = [
        "0.0.0.0/0",
      ]
      description      = ""
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "0.0.0.0/0",
      ]
      description      = ""
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
  ]
  ingress = [
    {
      cidr_blocks = [
        "10.11.119.0/25",
        "10.11.177.64/26",
        "10.11.113.0/26",
        "10.250.6.0/24",
        "10.251.12.0/22",
      ]
      description      = ""
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = true
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.119.0/25",
        "10.11.177.64/26",
        "10.11.113.0/26",
        "10.250.6.0/24",
        "10.251.12.0/22",
      ]
      description      = ""
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = true
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.96.132/32",
      ]
      description      = "gtunxlvf15008.server.arvato-systems.de"
      from_port        = 443
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 443
    },
    {
      cidr_blocks      = []
      description      = ""
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "-1"
      security_groups  = []
      self             = true
      to_port          = 0
    },
    {
      cidr_blocks = [
        "10.11.96.133/32",
        "10.11.96.134/32",
        "10.11.96.165/32",
        "10.11.96.166/32",
      ]
      description      = "Arvato Systems"
      from_port        = 443
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = true
      to_port          = 443
    },
  ]
  name = "eks-cluster-sg-sme-label-copy-schedule-dev-euc1-cluster-01-235452078"
  tags = {
    "Name"                                                              = "eks-cluster-sg-sme-label-copy-schedule-dev-euc1-cluster-01-235452078"
    "kubernetes.io/cluster/sme-label-copy-schedule-dev-euc1-cluster-01" = "owned"
    Business-Unit                                                       = "GRPS"
    Owner                                                               = "Richard Mayer"
    Project-Code                                                        = "2000-0497G"
    Project-Name                                                        = "GRPS"
    Environment                                                         = "Dev"
    CLOPS_FW                                                            = "NO"
    Team-Name                                                           = "DDEXWATCHER-EROS-GRPS-SCIM-RDX-RDXTRXMGR"
  }
  tags_all = {
    "Name"                                                              = "eks-cluster-sg-sme-label-copy-schedule-dev-euc1-cluster-01-235452078"
    "kubernetes.io/cluster/sme-label-copy-schedule-dev-euc1-cluster-01" = "owned"
    Business-Unit                                                       = "GRPS"
    Owner                                                               = "Richard Mayer"
    Project-Code                                                        = "2000-0497G"
    Project-Name                                                        = "GRPS"
    Environment                                                         = "Dev"
    CLOPS_FW                                                            = "NO"
    Team-Name                                                           = "DDEXWATCHER-EROS-GRPS-SCIM-RDX-RDXTRXMGR"
  }
  vpc_id = "vpc-0a688f309559be28f"
}

resource "aws_security_group" "sg-00fa6d029ff64b86c" {
  description = "GRPS-D2-INT_LB-SG"
  egress = [
    {
      cidr_blocks = [
        "10.11.113.53/32",
      ]
      description      = "grpsd2-symmetricds01"
      from_port        = 31417
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 31417
    },
    {
      cidr_blocks = [
        "10.11.113.0/26",
        "10.11.119.0/25",
        "10.250.6.0/24",
        "10.11.177.64/26",
        "10.250.47.32/27",
        "10.251.12.0/22",
      ]
      description      = "VPC_CIDR"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "0.0.0.0/0",
      ]
      description      = "HTTP"
      from_port        = 80
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 80
    },
    {
      cidr_blocks = [
        "0.0.0.0/0",
      ]
      description      = "HTTPS"
      from_port        = 443
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 443
    },
    {
      cidr_blocks = [
        "10.11.176.192/27",
      ]
      description      = "To CCSHARE-FF-APP-1A"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.176.192/27",
      ]
      description      = "To CCSHARE-FF-APP-1A"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.12.246.0/25",
      ]
      description      = "To CLSHRD-P CIDR-1"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.12.246.0/25",
      ]
      description      = "To CLSHRD-P CIDR-1"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.250.2.0/24",
      ]
      description      = "To CLSHRD-P CIDR-2"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.250.2.0/24",
      ]
      description      = "To CLSHRD-P CIDR-2"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
  ]
  ingress = [
    {
      cidr_blocks = [
        "10.11.0.0/16",
        "10.12.0.0/16",
        "162.49.0.0/16",
        "192.168.0.0/16",
      ]
      description      = ""
      from_port        = 444
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 444
    },
    {
      cidr_blocks = [
        "10.11.0.0/16",
        "10.12.0.0/16",
        "162.49.0.0/16",
        "192.168.0.0/16",
      ]
      description      = ""
      from_port        = 445
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 445
    },
    {
      cidr_blocks = [
        "10.11.0.0/16",
        "10.12.0.0/16",
        "162.49.0.0/16",
        "192.168.0.0/16",
      ]
      description      = ""
      from_port        = 446
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 446
    },
    {
      cidr_blocks = [
        "10.0.0.0/8",
        "162.49.0.0/16",
        "192.168.0.0/16"
      ]
      description      = "SME-VPN"
      from_port        = 443
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 443
    },
    {
      cidr_blocks = [
        "10.11.176.192/27",
      ]
      description      = "From CCSHARE-FF-APP-1A"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.176.192/27",
      ]
      description      = "From CCSHARE-FF-APP-1A"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.176.192/27",
      ]
      description      = "From CCSHARE-FF-APP-1A"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.12.246.64/27",
      ]
      description      = "SSH from clshrd-bastion01"
      from_port        = 22
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 22
    },
    {
      cidr_blocks = [
        "10.250.2.64/27",
      ]
      description      = "SSH from clshrd-tower01"
      from_port        = 22
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 22
    },
    {
      cidr_blocks      = []
      description      = "From API Gateway VPC Link"
      from_port        = 443
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = [aws_security_group.grpsd2-rdx-vpclink-sg.id]
      self             = false
      to_port          = 443
    },
  ]
  name = "GRPS-D2-INT_LB-SG"
  tags = {
    "Business-Unit" = "GRPS"
    "Name"          = "GRPS-D2-INT_LB-SG"
    "Environment"   = "Dev"
    "Owner"         = "Richard Mayer"
    "Project-Code"  = "2000-0497G"
    "Project-Name"  = "GRPS"
    CLOPS_FW        = "NO"
  }
  tags_all = {
    "Business-Unit" = "GRPS"
    "Name"          = "GRPS-D2-INT_LB-SG"
    "Environment"   = "Dev"
    "Owner"         = "Richard Mayer"
    "Project-Name"  = "GRPS"
    "Project-code"  = "2000-0497G"
    CLOPS_FW        = "NO"
  }
  vpc_id = "vpc-0a688f309559be28f"

}

resource "aws_security_group" "sg-000e7794b0aeafd81" {
  description = "GRPS-D2-GITRUN-SG"
  egress = [
    {
      cidr_blocks = [
        "0.0.0.0/0",
      ]
      description      = "DNS-TCP"
      from_port        = 53
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 53
    },
    {
      cidr_blocks = [
        "0.0.0.0/0",
      ]
      description      = "DNS-UDP"
      from_port        = 53
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 53
    },
    {
      cidr_blocks = [
        "0.0.0.0/0",
      ]
      description      = "HTTP"
      from_port        = 80
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 80
    },
    {
      cidr_blocks = [
        "0.0.0.0/0",
      ]
      description      = "HTTPS"
      from_port        = 443
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 443
    },
    {
      cidr_blocks = [
        "10.11.113.0/26",
      ]
      description      = "VPC-CIDR-1"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.113.0/26",
      ]
      description      = "VPC-CIDR-1"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.119.0/25",
      ]
      description      = "VPC-CIDR-2"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.119.0/25",
      ]
      description      = "VPC-CIDR-2"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.177.64/26",
      ]
      description      = "VPC-CIDR-4"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.177.64/26",
      ]
      description      = "VPC-CIDR-4"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.12.237.160/27",
        "10.12.246.64/26",
      ]
      description      = "SMTPS"
      from_port        = 587
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 587
    },
    {
      cidr_blocks = [
        "10.250.6.0/24",
        "10.251.12.0/22",
      ]
      description      = "VPC-CIDR-3"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.250.6.0/24",
        "10.251.12.0/22",
      ]
      description      = "VPC-CIDR-3"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "0.0.0.0/0",
      ]
      description      = "NTP"
      from_port        = 123
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 123
    },
    {
      cidr_blocks = [
        "0.0.0.0/0",
      ]
      description      = "NTP"
      from_port        = 123
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 123
    },
  ]
  ingress = [
    {
      cidr_blocks = [
        "10.11.176.219/32",
      ]
      description      = "cloudopsff-bastion02"
      from_port        = 22
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 22
    },
    {
      cidr_blocks = [
        "10.12.246.75/32",
      ]
      description      = "clshrd-bastion01"
      from_port        = 22
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 22
    },
    {
      cidr_blocks = [
        "10.250.2.64/27",
      ]
      description      = "Ansible_Tower"
      from_port        = 22
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 22
    },
  ]
  name = "GRPS-D2-GITRUN-SG"
  tags = {
    "Business-Unit" = "GRPS"
    "Environment"   = "Dev"
    "Owner"         = "Richard Mayer"
    "Patch Group"   = "General"
    "Project-Code"  = "2000-0497G"
    "Project-Name"  = "GRPS"
    CLOPS_FW        = "NO"
    Name            = "GRPS-D2-GITRUN-SG"
  }
  tags_all = {
    "Business-Unit" = "GRPS"
    "Environment"   = "Dev"
    "Owner"         = "Richard Mayer"
    "Patch Group"   = "General"
    "Project-Code"  = "2000-0497G"
    "Project-Name"  = "GRPS"
    CLOPS_FW        = "NO"
    Name            = "GRPS-D2-GITRUN-SG"
  }
  vpc_id = "vpc-0a688f309559be28f"

}

resource "aws_security_group" "sg-07bd5440ab68ccd4d" {
  description = "GRPS-D2-RDS-INT-SG"
  egress = [
    {
      cidr_blocks = [
        "10.11.104.128/25",
      ]
      description      = "aomas-aoma-rds-sg"
      from_port        = 5432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 5432
    },
    {
      cidr_blocks = [
        "10.11.113.0/26",
        "10.11.113.128/26",
      ]
      description      = ""
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.113.0/26",
        "10.11.113.128/26",
      ]
      description      = ""
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.176.192/27",
      ]
      description      = "To CCSHARE-FF-APP-1A"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.176.192/27",
      ]
      description      = "To CCSHARE-FF-APP-1A"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.12.193.233/32",
      ]
      description      = "ca-prod-report-db.smeanalyticsapps.com"
      from_port        = 5439
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 5439
    },
    {
      cidr_blocks = [
        "10.12.246.0/25",
      ]
      description      = "To CLSHRD-P CIDR-1"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.12.246.0/25",
      ]
      description      = "To CLSHRD-P CIDR-1"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.12.246.64/26",
        "10.12.237.160/27",
      ]
      description      = "CLOPS-SMTP-EP"
      from_port        = 587
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 587
    },
    {
      cidr_blocks = [
        "10.250.2.0/24",
      ]
      description      = "To CLSHRD-P CIDR-2"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.250.2.0/24",
      ]
      description      = "To CLSHRD-P CIDR-2"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks      = []
      description      = "pgdbstbmg1"
      from_port        = 5432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups = [
        "sg-0056e392bda8eb44e",
      ]
      self    = false
      to_port = 5432
    },
    {
      cidr_blocks      = ["10.250.243.0/26", "10.250.243.64/26"]
      description      = "DX3-D1"
      from_port        = 5432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 5432
    },
    {
      cidr_blocks = [
        "10.11.112.160/28",
        "10.11.112.176/28"
      ]
      description      = "To lcrsffd-pgdbotdsr2-cluster"
      from_port        = 5432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 5432
    },
  ]
  ingress = [
    {
      cidr_blocks = [
        "10.11.104.240/28",
      ]
      description      = "From aomas-aoma-rds-sg"
      from_port        = 5432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 5432
    },
    {
      cidr_blocks      = ["10.250.243.0/26", "10.250.243.64/26"]
      description      = "DX3-D1"
      from_port        = 5432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 5432
    },
    {
      cidr_blocks = [
        "10.11.113.0/25",
      ]
      description      = "GRPS-D2-VPC-CIDR-1"
      from_port        = 5432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 5432
    },
    {
      cidr_blocks = [
        "10.11.113.160/28",
        "10.11.113.176/28",
      ]
      description      = "Prod PG Subnet"
      from_port        = 5432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 5432
    },
    {
      cidr_blocks = [
        "10.11.176.192/27",
      ]
      description      = "From CCSHARE-FF-APP-1A"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.176.192/27",
      ]
      description      = "From CCSHARE-FF-APP-1A"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.176.200/32",
      ]
      description      = "From cloudopsff-dbmonitor01"
      from_port        = 5432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 5432
    },
    {
      cidr_blocks = [
        "10.12.246.64/27",
      ]
      description      = "SSH from clshrd-bastion01"
      from_port        = 5432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 5432
    },
    {
      cidr_blocks = [
        "10.250.2.64/27",
      ]
      description      = "SSH from clshrd-tower01"
      from_port        = 5432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 5432
    },
    {
      cidr_blocks      = []
      description      = ""
      from_port        = 5432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups = [
        "sg-05ec532e8015c2052",
        "sg-0c3fce58db20cfa5d",
      ]
      self    = false
      to_port = 5432
    },
    {
      cidr_blocks      = []
      description      = "GRPS-D2-APP01-SG"
      from_port        = 5432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups = [
        "sg-0d7d1dd1c5f3ea3e1",
      ]
      self    = false
      to_port = 5432
    },
    {
      cidr_blocks      = []
      description      = "GRPS-D2-LAMBDA-SECRET-ROTATION"
      from_port        = 5432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups = [
        "sg-0a60934ec54a60dd2",
      ]
      self    = false
      to_port = 5432
    },
    {
      cidr_blocks      = []
      description      = "GRPS-D2-PGEDB-SG"
      from_port        = 5432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups = [
        "sg-004daf8155467cdf4",
      ]
      self    = false
      to_port = 5432
    },
    {
      cidr_blocks      = []
      description      = "GRPS-D2-RDS-DEV-SG"
      from_port        = 5432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups = [
        "sg-0056e392bda8eb44e",
      ]
      self    = false
      to_port = 5432
    },
    {
      cidr_blocks      = []
      description      = "GRPS-D2-UTILITIES-SG"
      from_port        = 5432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups = [
        "sg-03d00384a05c6b8c6",
      ]
      self    = false
      to_port = 5432
    },
    {
      cidr_blocks      = ["10.0.0.0/8"]
      description      = "GRPS-Dev"
      from_port        = 5432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 5432
    },
    {
      cidr_blocks = [
        "10.11.112.160/28",
        "10.11.113.224/28"
      ]
      description      = "DMS-Rep-Instance-Carma-D"
      from_port        = 5432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 5432
    },
    {
      cidr_blocks = [
        "10.11.112.176/28"
      ]
      description      = "From lcrsffd-pgdbotdsr2-cluster"
      from_port        = 5432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 5432
    },
  ]
  name = "GRPS-D2-RDS-INT-SG"
  tags = {
    "Business-Unit" = "GRPS"
    "Environment"   = "Dev"
    "Name"          = "GRPS-D2-RDS-INT-SG"
    "Owner"         = "Richard Mayer"
    "Project-Code"  = "2000-0497G"
    "Project-Name"  = "GRPS"
    CLOPS_FW        = "NO"
  }
  tags_all = {
    "Business-Unit" = "GRPS"
    "Environment"   = "Dev"
    "Name"          = "GRPS-D2-RDS-INT-SG"
    "Owner"         = "Richard Mayer"
    "Project-Code"  = "2000-0497G"
    "Project-Name"  = "GRPS"
    CLOPS_FW        = "NO"
  }
  vpc_id = "vpc-0a688f309559be28f"

}

resource "aws_security_group" "sg-0644c613c835f2486" {
  description = "GRPS-D2-GSIRT-SG"
  egress = [
    {
      cidr_blocks = [
        "10.11.113.0/26",
        "10.11.119.0/25",
        "10.11.177.64/26",
      ]
      description      = ""
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.113.0/26",
        "10.11.119.0/25",
        "10.11.177.64/26",
      ]
      description      = ""
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.176.192/27",
      ]
      description      = "To CCSHARE-FF-APP-1A"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.176.192/27",
      ]
      description      = "To CCSHARE-FF-APP-1A"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.12.246.0/25",
      ]
      description      = "To CLSHRD-P CIDR-1"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.12.246.0/25",
      ]
      description      = "To CLSHRD-P CIDR-1"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.250.2.0/24",
      ]
      description      = "To CLSHRD-P CIDR-2"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.250.2.0/24",
      ]
      description      = "To CLSHRD-P CIDR-2"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
  ]
  ingress = [
    {
      cidr_blocks = [
        "10.11.113.0/26",
      ]
      description      = "GSIRT TCP-8089"
      from_port        = 8089
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 8089
    },
    {
      cidr_blocks = [
        "10.11.113.0/26",
      ]
      description      = "GSIRT TCP-9998"
      from_port        = 9998
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 9998
    },
    {
      cidr_blocks = [
        "10.11.119.0/25",
        "10.250.6.0/24",
        "10.251.12.0/22",
        "10.250.14.0/24",
      ]
      description      = "vpc-cidr"
      from_port        = 8089
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 8089
    },
    {
      cidr_blocks = [
        "10.11.119.0/25",
        "10.250.6.0/24",
        "10.251.12.0/22",
        "10.250.14.0/24",
      ]
      description      = "vpc-cidr"
      from_port        = 9998
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 9998
    },
  ]
  name = "GRPS-D2-GSIRT-SG"
  tags = {
    "Business-Unit" = "GRPS"
    "Environment"   = "Dev"
    "Owner"         = "Richard Mayer"
    "Project-Code"  = "2000-0497G"
    "Project-Name"  = "GRPS"
    CLOPS_FW        = "NO"
    Name            = "GRPS-D2-GSIRT-SG"
  }
  tags_all = {
    "Business-Unit" = "GRPS"
    "Environment"   = "Dev"
    "Owner"         = "Richard Mayer"
    "Project-Code"  = "2000-0497G"
    "Project-Name"  = "GRPS"
    CLOPS_FW        = "NO"
    Name            = "GRPS-D2-GSIRT-SG"
  }
  vpc_id = "vpc-0a688f309559be28f"

}

resource "aws_security_group" "sg-04a914c70af40e385" {
  description = "SG rule for sme-label-copy-schedule-dev-euc1-cluster-01 worker node"
  egress = [
    {
      cidr_blocks = [
        "0.0.0.0/0",
      ]
      description      = ""
      from_port        = 25
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 25
    },
    {
      cidr_blocks = [
        "10.11.113.32/28",
      ]
      description      = ""
      from_port        = 6432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 6432
    },
    {
      cidr_blocks = [
        "162.49.251.209/32",
      ]
      description      = "tsmegrps.arvato-systems.de"
      from_port        = 17710
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 17710
    },
    {
      cidr_blocks = [
        "162.49.251.209/32",
      ]
      description      = "tsmegrps.arvato-systems.de"
      from_port        = 9031
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 9031
    },
    {
      cidr_blocks = [
        "0.0.0.0/0",
      ]
      description      = ""
      from_port        = 5432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 5432
    },
    {
      cidr_blocks = [
        "0.0.0.0/0",
      ]
      description      = "HTTP"
      from_port        = 80
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 80
    },
    {
      cidr_blocks = [
        "0.0.0.0/0",
      ]
      description      = "HTTPS"
      from_port        = 443
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 443
    },
    {
      cidr_blocks = [
        "10.0.0.0/8",
      ]
      description      = "Kafka Access on Arvato"
      from_port        = 9095
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 9095
    },
    {
      cidr_blocks = [
        "10.11.108.0/25",
        "10.11.180.128/25",
      ]
      description      = "GDS-UAT-MSK"
      from_port        = 9098
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 9098
    },
    {
      cidr_blocks = [
        "10.11.113.0/26",
        "10.11.177.64/26",
        "10.250.6.0/24",
        "10.251.12.0/22",
      ]
      description      = "VPC CIDR 2"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.0.0.0/8",
      ]
      description      = "VPN-1"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.113.0/26",
        "10.11.177.64/26",
        "10.250.6.0/24",
        "10.251.12.0/22",
      ]
      description      = "VPC CIDR 2"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.113.42/32",
      ]
      description      = "grpsd2-pgbouncer02.smearsys.com"
      from_port        = 6432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 6432
    },
    {
      cidr_blocks = [
        "10.11.119.0/25",
        "10.250.47.32/27",
        "10.249.4.192/28",
      ]
      description      = "VPC-CIDR-2"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.119.0/25",
        "10.250.47.32/27",
        "10.249.4.192/28",
      ]
      description      = "VPC-CIDR-2"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.12.246.64/26",
        "10.12.237.160/27",
      ]
      description      = "CLOPS-SMTP-EP"
      from_port        = 587
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 587
    },
    {
      cidr_blocks = [
        "10.250.14.0/24",
      ]
      description      = ""
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.250.14.0/24",
        "10.0.0.0/8",
      ]
      description      = ""
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.250.2.0/24",
      ]
      description      = "TowerVPC"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.250.2.0/24",
      ]
      description      = "TowerVPC"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.250.2.64/27",
      ]
      description      = "SharedVPC1"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.250.2.64/27",
      ]
      description      = "SharedVPC1"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "162.49.203.44/32",
      ]
      description      = "InfoBlox-1"
      from_port        = 53
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 53
    },
    {
      cidr_blocks = [
        "162.49.203.44/32",
      ]
      description      = "InfoBlox-2"
      from_port        = 53
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 53
    },
    {
      cidr_blocks = [
        "162.49.251.209/32",
      ]
      description      = "tsmegrps.arvato-systems.de"
      from_port        = 11700
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 11700
    },
    {
      cidr_blocks = [
        "162.49.251.209/32",
      ]
      description      = "tsmegrps.arvato-systems.de"
      from_port        = 11703
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 11703
    },
    {
      cidr_blocks = [
        "162.49.251.209/32",
      ]
      description      = "tsmegrps.arvato-systems.de"
      from_port        = 17530
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 17530
    },
    {
      cidr_blocks = [
        "172.34.13.0/25",
      ]
      description      = "DIGSYS-D-VA"
      from_port        = 9094
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 9094
    },
    {
      cidr_blocks = [
        "172.34.16.192/27",
        "172.34.16.224/27",
        "10.250.70.192/26",
        "10.250.70.96/27",
        "10.250.70.128/26"
      ]
      description      = "EOM-FF-S"
      from_port        = 9094
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 9094
    },
    {
      cidr_blocks      = []
      description      = ""
      from_port        = 587
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = true
      to_port          = 587
    },
    {
      cidr_blocks = [
        "10.11.92.165/32",
      ]
      description      = "csservice.arvato-systems.de"
      from_port        = 11850
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 11850
    },
    {
      cidr_blocks = [
        "10.11.92.165/32",
      ]
      description      = "csservice.arvato-systems.de"
      from_port        = 12107
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 12107
    },
    {
      cidr_blocks = [
        "162.49.197.142/32",
      ]
      description      = "aoma-corewebservices-ws-dev-int.smcdp-de.net"
      from_port        = 443
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 443
    },
    {
      cidr_blocks = [
        "0.0.0.0/0",
      ]
      description      = "NTP"
      from_port        = 123
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 123
    },
    {
      cidr_blocks = [
        "0.0.0.0/0",
      ]
      description      = "NTP"
      from_port        = 123
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 123
    },
    {
      cidr_blocks = [
        "10.11.188.43/32",
        "10.11.188.92/32"
      ]
      description      = "digsysd-ocm"
      from_port        = 1482
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 1482
    },
    {
      cidr_blocks = [
        "10.11.110.231/32",
        "10.11.110.249/32",
        "10.11.107.206/32",
        "10.11.107.200/32"
      ]
      description      = "digsyss-ocm & digsysp-ocm"
      from_port        = 1480
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 1480
    },
    {
      cidr_blocks = [
        "162.49.251.209/32",
      ]
      description      = "tsmegrps.arvato-systems.de"
      from_port        = 9093
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 9093
    },
    {
      cidr_blocks      = ["10.11.189.0/25", "10.11.187.176/28"]
      description      = "digsysp3-ocm"
      from_port        = 1480
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 1480
    },
  ]
  ingress = [
    {
      cidr_blocks = [
        "10.11.113.43/32",
        "10.11.113.32/28",
      ]
      description      = ""
      from_port        = 6432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 6432
    },
    {
      cidr_blocks = [
        "10.0.0.0/8",
      ]
      description      = "VPN-1"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.119.0/25",
      ]
      description      = "VPC CIDR1"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.119.0/25",
      ]
      description      = "VPC CIDR1"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.176.219/32",
      ]
      description      = "cloudopsff-bastion02"
      from_port        = 22
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 22
    },
    {
      cidr_blocks = [
        "10.11.177.64/26",
        "10.11.113.0/26",
        "10.250.6.0/24",
        "10.251.12.0/22",
      ]
      description      = "VPC CIDR 2"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.177.64/26",
        "10.11.113.0/26",
        "10.250.6.0/24",
        "10.251.12.0/22",
      ]
      description      = "VPC CIDR 2"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.12.246.75/32",
      ]
      description      = "clshrd-bastion01"
      from_port        = 22
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 22
    },
    {
      cidr_blocks = [
        "10.250.2.0/24",
      ]
      description      = "SharedVPC"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.250.2.0/24",
      ]
      description      = "SharedVPC"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.250.2.64/27",
      ]
      description      = "SharedVPC1"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.250.2.64/27",
      ]
      description      = "SharedVPC1"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "172.34.13.64/27",
        "172.34.13.32/27",
        "172.34.13.96/27",
        "10.250.70.128/26",
        "10.250.70.192/26",
        "10.250.70.96/27"
      ]
      description      = ""
      from_port        = 9094
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 9094
    },
    {
      cidr_blocks = [
        "84.17.180.232/32",
      ]
      description      = ""
      from_port        = 443
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 443
    },
    {
      cidr_blocks      = []
      description      = "ALB-SG"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups = [
        "sg-00fa6d029ff64b86c",
      ]
      self    = false
      to_port = 65535
    },
    {
      cidr_blocks      = []
      description      = "ALB-SG"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups = [
        "sg-00fa6d029ff64b86c",
      ]
      self    = false
      to_port = 65535
    },
    {
      cidr_blocks      = []
      description      = "Allow node to communicate with each other"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = true
      to_port          = 65535
    },
    {
      cidr_blocks      = []
      description      = "Allow node to communicate with each other"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = true
      to_port          = 65535
    },
    {
      cidr_blocks      = []
      description      = "Allow pods running extension API servers on port 443 to receive communication from cluster control plane"
      from_port        = 443
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups = [
        "sg-03e052867aa8ceb95",
      ]
      self    = false
      to_port = 443
    },
    {
      cidr_blocks      = []
      description      = "Allow worker Kubelets and pods to receive communication from the cluster control plane"
      from_port        = 1025
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups = [
        "sg-03e052867aa8ceb95",
      ]
      self    = false
      to_port = 65535
    },
    {
      cidr_blocks      = []
      description      = "elbv2.k8s.aws/targetGroupBinding=shared"
      from_port        = 4000
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups = [
        "sg-0984d50c9674b4601",
      ]
      self    = false
      to_port = 11000
    },
  ]
  name = "sme-label-copy-schedule-dev-euc1-cluster-01-Worker-node-SG"
  tags = {
    "karpenter.sh/discovery" = "sme-label-copy-schedule-dev-euc1-cluster-01"
    Business-Unit            = "GRPS"
    Owner                    = "Richard Mayer"
    Project-Code             = "2000-0497G"
    Project-Name             = "GRPS"
    Environment              = "Dev"
    CLOPS_FW                 = "NO"
    Name                     = "sme-label-copy-schedule-dev-euc1-cluster-01-Worker-node-SG"
    Team-Name                = "DDEXWATCHER-EROS-GRPS-SCIM-RDX-RDXTRXMGR"
  }
  tags_all = {
    "karpenter.sh/discovery" = "sme-label-copy-schedule-dev-euc1-cluster-01"
    Business-Unit            = "GRPS"
    Owner                    = "Richard Mayer"
    Project-Code             = "2000-0497G"
    Project-Name             = "GRPS"
    Environment              = "Dev"
    CLOPS_FW                 = "NO"
    Name                     = "sme-label-copy-schedule-dev-euc1-cluster-01-Worker-node-SG"
    Team-Name                = "DDEXWATCHER-EROS-GRPS-SCIM-RDX-RDXTRXMGR"
  }
  vpc_id = "vpc-0a688f309559be28f"

}

resource "aws_security_group" "sg-032697aff56f4140e" {
  description = "managed LoadBalancer securityGroup by ALB Ingress Controller"
  egress = [
    {
      cidr_blocks = [
        "0.0.0.0/0",
      ]
      description      = ""
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "0.0.0.0/0",
      ]
      description      = ""
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
  ]
  ingress = [
    {
      cidr_blocks = [
        "162.49.0.0/16",
      ]
      description      = "Allow ingress on port 443 from 162.49.0.0/16"
      from_port        = 443
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 443
    },
    {
      cidr_blocks = [
        "192.168.10.0/23",
      ]
      description      = "Allow ingress on port 443 from 192.168.10.0/23"
      from_port        = 443
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 443
    },
    {
      cidr_blocks = [
        "192.168.12.0/24",
      ]
      description      = "Allow ingress on port 443 from 192.168.12.0/24"
      from_port        = 443
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 443
    },
    {
      cidr_blocks = [
        "192.168.155.0/24",
      ]
      description      = "Allow ingress on port 443 from 192.168.155.0/24"
      from_port        = 443
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 443
    },
    {
      cidr_blocks = [
        "192.168.227.0/24",
      ]
      description      = "Allow ingress on port 443 from 192.168.227.0/24"
      from_port        = 443
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 443
    },
  ]
  name = "67708c97-rdx-rdxingress-838e"
  tags = {
    "Name"                       = "rdx-eks-alb"
    "ingress.k8s.aws/cluster"    = "grpsd-rdx"
    "ingress.k8s.aws/resource"   = "ManagedLBSecurityGroup"
    "ingress.k8s.aws/stack"      = "rdx/rdx-ingress"
    "kubernetes.io/cluster-name" = "grpsd-rdx"
    "kubernetes.io/ingress-name" = "rdx-ingress"
    "kubernetes.io/namespace"    = "rdx"
    Business-Unit                = "GRPS"
    Owner                        = "Richard Mayer"
    Project-Code                 = "2000-0497G"
    Project-Name                 = "GRPS"
    Environment                  = "Dev"
    CLOPS_FW                     = "NO"
  }
  tags_all = {
    "Name"                       = "rdx-eks-alb"
    "ingress.k8s.aws/cluster"    = "grpsd-rdx"
    "ingress.k8s.aws/resource"   = "ManagedLBSecurityGroup"
    "ingress.k8s.aws/stack"      = "rdx/rdx-ingress"
    "kubernetes.io/cluster-name" = "grpsd-rdx"
    "kubernetes.io/ingress-name" = "rdx-ingress"
    "kubernetes.io/namespace"    = "rdx"
    Business-Unit                = "GRPS"
    Owner                        = "Richard Mayer"
    Project-Code                 = "2000-0497G"
    Project-Name                 = "GRPS"
    Environment                  = "Dev"
    CLOPS_FW                     = "NO"
  }
  vpc_id = "vpc-0a688f309559be28f"

}

resource "aws_security_group" "sg-03c103056d982fc08" {
  description = "allow access to developers"
  egress = [
    {
      cidr_blocks = [
        "0.0.0.0/0",
      ]
      description      = ""
      from_port        = 443
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 443
    },
    {
      cidr_blocks = [
        "0.0.0.0/0",
      ]
      description      = "DNS-TCP"
      from_port        = 53
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 53
    },
    {
      cidr_blocks = [
        "0.0.0.0/0",
      ]
      description      = "DNS-UDP"
      from_port        = 53
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 53
    },
    {
      cidr_blocks = [
        "10.11.113.0/26",
      ]
      description      = "GRPS-D2-vpc-cidr-1"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.113.0/26",
      ]
      description      = "GRPS-D2-vpc-cidr-1"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.119.0/25",
      ]
      description      = "GRPS-D2-vpc-cidr-2"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.119.0/25",
      ]
      description      = "GRPS-D2-vpc-cidr-2"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.177.64/26",
      ]
      description      = "GRPS-D2-vpc-cidr-4"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.177.64/26",
      ]
      description      = "GRPS-D2-vpc-cidr-4"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.12.246.64/26",
        "10.12.237.160/27",
      ]
      description      = "CLOPS-SMTP-EP"
      from_port        = 587
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 587
    },
    {
      cidr_blocks = [
        "10.250.47.32/27",
      ]
      description      = "GRPS-D2-vpc-cidr-5"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.250.47.32/27",
      ]
      description      = "GRPS-D2-vpc-cidr-5"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.250.6.0/24",
        "10.251.12.0/22",
      ]
      description      = "GRPS-D-vpc-cidr-3"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.250.6.0/24",
        "10.251.12.0/22",
      ]
      description      = "GRPS-D-vpc-cidr-3"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
  ]
  ingress = [
    {
      cidr_blocks = [
        "10.11.0.0/16",
      ]
      description      = "SME-EU"
      from_port        = 443
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 443
    },
    {
      cidr_blocks = [
        "10.11.113.0/26",
        "10.11.119.0/25",
        "10.250.6.0/24",
        "10.251.12.0/22",
        "10.11.177.64/26",
        "10.250.47.32/27",
        "10.249.4.192/28",
      ]
      description      = ""
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.113.0/26",
        "10.11.119.0/25",
        "10.250.6.0/24",
        "10.251.12.0/22",
        "10.11.177.64/26",
        "10.250.47.32/27",
        "10.249.4.192/28",
      ]
      description      = ""
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.0.0.0/8",
        "192.168.0.0/16",

      ]
      description      = "VPC CIDR-1"
      from_port        = 443
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 443
    },
    {
      cidr_blocks = [
        "10.11.119.0/25",
      ]
      description      = "VPC CIDR-2"
      from_port        = 443
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 443
    },
    {
      cidr_blocks = [
        "10.11.176.219/32",
      ]
      description      = "cloudopsff-bastion02"
      from_port        = 443
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 443
    },
    {
      cidr_blocks = [
        "10.11.177.64/26",
      ]
      description      = "VPC CIDR-4"
      from_port        = 443
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 443
    },
    {
      cidr_blocks = [
        "10.12.0.0/16",
      ]
      description      = "SME-US"
      from_port        = 443
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 443
    },
    {
      cidr_blocks = [
        "10.250.47.32/27",
      ]
      description      = "VPC CIDR-5"
      from_port        = 443
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 443
    },
    {
      cidr_blocks = [
        "10.250.6.0/24",
        "10.251.12.0/22",
      ]
      description      = "VPC CIDR-3"
      from_port        = 443
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 443
    },
    {
      cidr_blocks = [
        "162.49.0.0/16",
      ]
      description      = "SME-VPN-1"
      from_port        = 443
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 443
    },
    {
      cidr_blocks = [
        "192.168.10.0/23",
      ]
      description      = "SME-VPN-2"
      from_port        = 443
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 443
    },
    {
      cidr_blocks = [
        "192.168.12.0/24",
      ]
      description      = "SME-VPN-3"
      from_port        = 443
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 443
    },
    {
      cidr_blocks = [
        "192.168.155.0/24",
      ]
      description      = "SME-VPN-4"
      from_port        = 443
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 443
    },
    {
      cidr_blocks = [
        "192.168.227.0/24",
        "10.12.214.128/25",
        "10.250.25.0/26",
        "10.249.3.32/28",
      ]
      description      = "SME-VPN-5"
      from_port        = 443
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 443
    },
  ]
  name = "lcs-dev-es-01-sg"
  tags = {
    Business-Unit = "GRPS"
    Owner         = "Richard Mayer"
    Project-Code  = "2000-0497G"
    Project-Name  = "GRPS"
    Environment   = "Dev"
    CLOPS_FW      = "NO"
    Name          = "lcs-dev-es-01-sg"
  }
  tags_all = {
    Business-Unit = "GRPS"
    Owner         = "Richard Mayer"
    Project-Code  = "2000-0497G"
    Project-Name  = "GRPS"
    Environment   = "Dev"
    CLOPS_FW      = "NO"
    Name          = "lcs-dev-es-01-sg"
  }
  vpc_id = "vpc-0a688f309559be28f"

}

resource "aws_security_group" "sg-03d00384a05c6b8c6" {
  description = "GRPS-D2-UTILITIES-SG"
  egress = [
    {
      cidr_blocks = [
        "0.0.0.0/0",
      ]
      description      = "HTTP"
      from_port        = 80
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 80
    },
    {
      cidr_blocks = [
        "0.0.0.0/0",
      ]
      description      = "HTTPS"
      from_port        = 443
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 443
    },
    {
      cidr_blocks      = ["10.250.243.0/26", "10.250.243.64/26"]
      description      = "DX3-D1"
      from_port        = 5432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 5432
    },
    {
      cidr_blocks = [
        "10.11.108.128/26",
      ]
      description      = "GRS-P"
      from_port        = 1521
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 1521
    },
    {
      cidr_blocks      = ["10.11.123.0/25", ]
      description      = "smeed6shrd1-scan.server.arvato-systems.de"
      from_port        = 1521
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 1521
    },
    {
      cidr_blocks      = ["10.11.120.228/32", ]
      description      = "smeed2-scan.server.arvato-systems.de"
      from_port        = 1480
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 1480
    },
    {
      cidr_blocks      = ["162.49.150.1/32", ]
      description      = "ars-as400.me.sonymusic.com"
      from_port        = 990
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 990
    },
    {
      cidr_blocks = [
        "10.11.113.0/26",
      ]
      description      = "VPC-CIDR-1"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.113.0/26",
      ]
      description      = "VPC-CIDR-1"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.113.128/26",
      ]
      description      = "GRPS-P2-VPC-CIDR"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.113.128/26",
      ]
      description      = "GRPS-P2-VPC-CIDR"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.113.36/32",
      ]
      description      = "grpsd2-pgb-test01.smegrpsd2.net"
      from_port        = 22
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 22
    },
    {
      cidr_blocks = [
        "10.11.119.0/25",
      ]
      description      = "VPC-CIDR-2"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.119.0/25",
      ]
      description      = "VPC-CIDR-2"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.177.64/26",
      ]
      description      = "VPC-CIDR-4"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.177.64/26",
      ]
      description      = "VPC-CIDR-4"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.12.192.0/23",
      ]
      description      = "Redshift-SME-SMAnalytics"
      from_port        = 5439
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 5439
    },
    {
      cidr_blocks = [
        "10.12.214.134/32",
      ]
      description      = "grpsd2-pgdbstbmg1-nv-pgb01"
      from_port        = 6432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 6432
    },
    {
      cidr_blocks      = ["10.11.116.0/26"]
      description      = "dx3d1-pgbouncer01"
      from_port        = 6432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 6432
    },
    {
      cidr_blocks = [
        "10.12.214.160/27",
      ]
      description      = "GRPSNV-D3-IRDS"
      from_port        = 5432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 5432
    },
    {
      cidr_blocks = [
        "10.12.246.64/26",
        "10.12.237.160/27",
      ]
      description      = "CLOPS-SMTP-EP"
      from_port        = 587
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 587
    },
    {
      cidr_blocks = [
        "10.250.14.0/24",
      ]
      description      = "STARS-P1-VPC-CIDR"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.250.14.0/24",
      ]
      description      = "STARS-P1-VPC-CIDR"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.250.6.0/24",
        "10.251.12.0/22",
      ]
      description      = "VPC-CIDR-3"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.250.6.0/24",
        "10.251.12.0/22",
      ]
      description      = "VPC-CIDR-3"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.250.97.0/24",
        "10.12.215.128/25",
      ]
      description      = "GRPS-P1"
      from_port        = 5432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 5432
    },
    {
      cidr_blocks = [
        "10.250.97.0/24",
        "10.12.215.128/25",
        "10.12.214.128/26",
      ]
      description      = "GRPS-P1"
      from_port        = 6432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 6432
    },
    {
      cidr_blocks = [
        "162.49.203.44/32",
        "162.49.203.45/32",
      ]
      description      = "DNS"
      from_port        = 53
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 53
    },
    {
      cidr_blocks = [
        "162.49.203.44/32",
        "162.49.203.45/32",
      ]
      description      = "DNS"
      from_port        = 53
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 53
    },
    {
      cidr_blocks = [
        "0.0.0.0/0",
      ]
      description      = "NTP"
      from_port        = 123
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 123
    },
    {
      cidr_blocks = [
        "0.0.0.0/0",
      ]
      description      = "NTP"
      from_port        = 123
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 123
    },
    {
      cidr_blocks = [
        "10.11.187.64/26",
        "10.11.187.0/26",
      ]
      description      = "DIGSYS-S3-IAPP-1A & DIGSYS-S3-IAPP-1B"
      from_port        = 5432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 5432
    },
    {
      cidr_blocks      = ["10.11.178.176/28"]
      description      = "GRPS-P2"
      from_port        = 6432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 6432
    },
    {
      cidr_blocks      = ["10.11.189.0/26", "10.11.189.64/26"]
      description      = "DIGSYS-P3-IAPP-1A & DIGSYS-P3-IAPP-1A"
      from_port        = 5432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 5432
    },
    {
      cidr_blocks      = ["10.11.177.192/27", "10.11.180.64/27"]
      description      = ""
      from_port        = 2181
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 2181
    },
  ]
  ingress = [
    {
      cidr_blocks = [
        "10.11.176.219/32",
      ]
      description      = "cloudopsff-bastion02"
      from_port        = 22
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 22
    },
    {
      cidr_blocks = [
        "10.11.176.219/32",
      ]
      description      = "cloudopsff-bastion02"
      from_port        = 6432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 6432
    },
    {
      cidr_blocks = [
        "10.12.246.75/32",
      ]
      description      = "clshrd-bastion01"
      from_port        = 22
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 22
    },
    {
      cidr_blocks = [
        "10.250.2.64/27",
      ]
      description      = "Ansible_Tower"
      from_port        = 22
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 22
    },
    {
      cidr_blocks      = []
      description      = "GRPS-D2-APP01-SG"
      from_port        = 22
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups = [
        "sg-0d7d1dd1c5f3ea3e1",
      ]
      self    = false
      to_port = 22
    },
    {
      cidr_blocks      = []
      description      = "GRPS-D2-UTILITIES-SG"
      from_port        = 22
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = true
      to_port          = 22
    },
  ]
  name = "GRPS-D2-UTILITIES-SG"
  tags = {
    "Business-Unit" = "GRPS"
    "Environment"   = "Dev"
    "Owner"         = "Richard Mayer"
    "Patch Group"   = "General"
    "Project-Code"  = "2000-0497G"
    "Project-Name"  = "GRPS"
    CLOPS_FW        = "NO"
    Name            = "GRPS-D2-UTILITIES-SG"
  }
  tags_all = {
    "Business-Unit" = "GRPS"
    "Environment"   = "Dev"
    "Owner"         = "Richard Mayer"
    "Patch Group"   = "General"
    "Project-Code"  = "2000-0497G"
    "Project-Name"  = "GRPS"
    CLOPS_FW        = "NO"
    Name            = "GRPS-D2-UTILITIES-SG"
  }
  vpc_id = "vpc-0a688f309559be28f"

}

resource "aws_security_group" "sg-0a60934ec54a60dd2" {
  description = "GRPS-D2-LAMBDA-SECRET-ROTATION"
  egress = [
    {
      cidr_blocks = [
        "0.0.0.0/0",
      ]
      description      = ""
      from_port        = 123
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 123
    },
    {
      cidr_blocks = [
        "0.0.0.0/0",
      ]
      description      = ""
      from_port        = 443
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 443
    },
    {
      cidr_blocks = [
        "0.0.0.0/0",
      ]
      description      = ""
      from_port        = 80
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 80
    },
    {
      cidr_blocks = [
        "10.11.113.0/26",
        "10.11.119.0/25",
      ]
      description      = "VPC CIDR"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.113.0/26",
        "10.11.119.0/25",
      ]
      description      = "VPC CIDR"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.12.246.64/26",
        "10.12.237.160/27",
      ]
      description      = "CLOPS-SMTP-EP"
      from_port        = 587
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 587
    },
  ]
  ingress = [
    {
      cidr_blocks = [
        "10.11.113.0/26",
        "10.11.119.0/25",
      ]
      description      = "VPC CIDR"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
  ]
  name = "GRPS-D2-LAMBDA-SECRET-ROTATION"
  tags = {
    "Name"        = "GRPS-D2-LAMBDA-SECRET-ROTATION"
    Business-Unit = "GRPS"
    Owner         = "Richard Mayer"
    Project-Code  = "2000-0497G"
    Project-Name  = "GRPS"
    Environment   = "Dev"
    CLOPS_FW      = "NO"
  }
  tags_all = {
    "Name"        = "GRPS-D2-LAMBDA-SECRET-ROTATION"
    Business-Unit = "GRPS"
    Owner         = "Richard Mayer"
    Project-Code  = "2000-0497G"
    Project-Name  = "GRPS"
    Environment   = "Dev"
    CLOPS_FW      = "NO"
  }
  vpc_id = "vpc-0a688f309559be28f"

}

resource "aws_security_group" "sg-0c3fce58db20cfa5d" {
  description = "GRPS-D2-EC2-SYMMETRICDS01-SG"
  egress = [
    {
      cidr_blocks = [
        "0.0.0.0/0",
      ]
      description      = ""
      from_port        = 443
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 443
    },
    {
      cidr_blocks = [
        "0.0.0.0/0",
      ]
      description      = ""
      from_port        = 80
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 80
    },
    {
      cidr_blocks = [
        "10.11.113.0/26",
        "10.11.113.128/26",
      ]
      description      = ""
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.113.0/26",
        "10.11.113.128/26",
      ]
      description      = ""
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.119.0/25",
        "10.250.6.0/24",
        "10.251.12.0/22",
      ]
      description      = "vpc-cidr"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.119.0/25",
        "10.250.6.0/24",
        "10.251.12.0/22",
      ]
      description      = "vpc-cidr"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.176.192/27",
      ]
      description      = "To CCSHARE-FF-APP-1A"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.176.192/27",
      ]
      description      = "To CCSHARE-FF-APP-1A"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.177.128/25",
      ]
      description      = "GDS-D1"
      from_port        = 9098
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 9098
    },
    {
      cidr_blocks = [
        "10.12.192.0/23",
      ]
      description      = "SME SMAnalytics"
      from_port        = 5439
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 5439
    },
    {
      cidr_blocks = [
        "10.12.246.0/25",
      ]
      description      = "To CLSHRD-P CIDR-1"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.12.246.0/25",
      ]
      description      = "To CLSHRD-P CIDR-1"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.12.246.64/26",
        "10.12.237.160/27",
      ]
      description      = "CLOPS-SMTP-EP"
      from_port        = 587
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 587
    },
    {
      cidr_blocks = [
        "10.250.2.0/24",
      ]
      description      = "To CLSHRD-P CIDR-2"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.250.2.0/24",
      ]
      description      = "To CLSHRD-P CIDR-2"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "162.49.203.44/31",
      ]
      description      = "DNS"
      from_port        = 53
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 53
    },
    {
      cidr_blocks = [
        "162.49.203.44/31",
      ]
      description      = "DNS"
      from_port        = 53
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 53
    },
    {
      cidr_blocks = [
        "162.49.251.209/32",
      ]
      description      = "gtunxlva06527.server.arvato-systems.de/"
      from_port        = 16450
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 16450
    },
    {
      cidr_blocks = [
        "162.49.251.209/32",
      ]
      description      = "gtunxlva06527.server.arvato-systems.de/"
      from_port        = 16650
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 16650
    },
    {
      cidr_blocks = [
        "0.0.0.0/0",
      ]
      description      = "NTP"
      from_port        = 123
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 123
    },
    {
      cidr_blocks = [
        "0.0.0.0/0",
      ]
      description      = "NTP"
      from_port        = 123
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 123
    },
  ]
  ingress = [
    {
      cidr_blocks = [
        "10.11.113.0/27",
      ]
      description      = ""
      from_port        = 31417
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 31417
    },
    {
      cidr_blocks = [
        "10.11.176.192/27",
      ]
      description      = "From CCSHARE-FF-APP-1A"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.176.192/27",
      ]
      description      = "From CCSHARE-FF-APP-1A"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.96.133/32",
      ]
      description      = "gtunxlvz06526.server.arvato-systems.de"
      from_port        = 31417
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 31417
    },
    {
      cidr_blocks = [
        "10.12.236.128/26",
      ]
      description      = "From awxd vpc"
      from_port        = 22
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 22
    },
    {
      cidr_blocks = [
        "10.12.246.0/25",
      ]
      description      = "Shared-VPC"
      from_port        = 16650
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 16650
    },
    {
      cidr_blocks = [
        "10.12.246.0/25",
      ]
      description      = "Shared-VPC"
      from_port        = 22
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 22
    },
    {
      cidr_blocks = [
        "10.250.2.64/27",
      ]
      description      = "AnsibleTower"
      from_port        = 22
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 22
    },
    {
      cidr_blocks = [
        "162.49.251.209/32",
      ]
      description      = "gtunxlva06527.server.arvato-systems.de"
      from_port        = 16450
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 16450
    },
    {
      cidr_blocks = [
        "162.49.251.209/32",
      ]
      description      = "gtunxlva06527.server.arvato-systems.de"
      from_port        = 16650
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 16650
    },
    {
      cidr_blocks      = []
      description      = "INT_ALB"
      from_port        = 31417
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups = [
        "sg-00fa6d029ff64b86c",
      ]
      self    = false
      to_port = 31417
    },
  ]
  name = "GRPS-D2-EC2-SYMMETRICDS01-SG"
  tags = {
    "Business-Unit" = "GRPS"
    "Environment"   = "Dev"
    "Owner"         = "Richard Mayer"
    "Project-Code"  = "2000-0497G"
    "Project-Name"  = "GRPS"
    CLOPS_FW        = "NO"
    Name            = "GRPS-D2-EC2-SYMMETRICDS01-SG"
  }
  tags_all = {
    "Business-Unit" = "GRPS"
    "Environment"   = "Dev"
    "Owner"         = "Richard Mayer"
    "Project-Code"  = "2000-0497G"
    "Project-Name"  = "GRPS"
    CLOPS_FW        = "NO"
    Name            = "GRPS-D2-EC2-SYMMETRICDS01-SG"
  }
  vpc_id = "vpc-0a688f309559be28f"

}

resource "aws_security_group" "sg-0c1dcf8f4502824ea" {
  description = "[k8s] Managed SecurityGroup for LoadBalancer"
  egress = [
    {
      cidr_blocks = [
        "0.0.0.0/0",
      ]
      description      = ""
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "0.0.0.0/0",
      ]
      description      = ""
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
  ]
  ingress = [
    {
      cidr_blocks = [
        "10.11.0.0/16",
        "10.12.0.0/16",
        "162.49.0.0/16",
        "192.168.10.0/23",
        "192.168.12.0/24",
        "192.168.155.0/24",
        "192.168.227.0/24",
      ]
      description      = ""
      from_port        = 443
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 443
    },
  ]
  name = "k8s-devfeder-federati-3399aa8df0"
  tags = {
    "Name"                     = "federation-deployment-eks-alb"
    "elbv2.k8s.aws/cluster"    = "sme-label-copy-schedule-dev-euc1-cluster-01"
    "ingress.k8s.aws/resource" = "ManagedLBSecurityGroup"
    "ingress.k8s.aws/stack"    = "dev-federation-rdx/federation-deployment-ingress"
    Business-Unit              = "GRPS"
    Owner                      = "Richard Mayer"
    Project-Code               = "2000-0497G"
    Project-Name               = "GRPS"
    Environment                = "Dev"
    CLOPS_FW                   = "NO"
  }
  tags_all = {
    "Name"                     = "federation-deployment-eks-alb"
    "elbv2.k8s.aws/cluster"    = "sme-label-copy-schedule-dev-euc1-cluster-01"
    "ingress.k8s.aws/resource" = "ManagedLBSecurityGroup"
    "ingress.k8s.aws/stack"    = "dev-federation-rdx/federation-deployment-ingress"
    Business-Unit              = "GRPS"
    Owner                      = "Richard Mayer"
    Project-Code               = "2000-0497G"
    Project-Name               = "GRPS"
    Environment                = "Dev"
    CLOPS_FW                   = "NO"
  }
  vpc_id = "vpc-0a688f309559be28f"

}

resource "aws_security_group" "sg-03e052867aa8ceb95" {
  description = "Security Group for sme-label-copy-schedule-dev-euc1-cluster-01"
  egress = [
    {
      cidr_blocks = [
        "10.11.113.0/26",
      ]
      description      = "VPC-CIDR-1"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.0.0.0/8",
      ]
      description      = "VPN-1"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.113.0/26",
      ]
      description      = "VPC-CIDR-1"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.104.0/28",
        "10.250.197.128/25",
      ]
      description      = "EROS-Dev"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.104.0/28",
        "10.250.197.128/25",
      ]
      description      = "EROS-Dev"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.119.0/25",
      ]
      description      = "VPC-CIDR-2"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.119.0/25",
      ]
      description      = "VPC-CIDR-2"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.250.2.0/24",
      ]
      description      = "TowerVPC"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.250.2.0/24",
      ]
      description      = "TowerVPC"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.250.6.0/24",
        "10.251.12.0/22",
        "10.250.14.0/24",
      ]
      description      = ""
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.250.6.0/24",
        "10.251.12.0/22",
        "10.250.14.0/24",
      ]
      description      = ""
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "162.49.203.44/32",
      ]
      description      = ""
      from_port        = 17530
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 17530
    },
    {
      cidr_blocks = [
        "162.49.251.209/32",
      ]
      description      = "tsmegrps.arvato-systems.de"
      from_port        = 17530
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 17530
    },
  ]
  ingress = [
    {
      cidr_blocks = [
        "10.11.176.200/32",
        "10.0.0.0/8",
      ]
      description      = "DB-Monitor"
      from_port        = 443
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 443
    },
    {
      cidr_blocks = [
        "10.12.198.0/25",
      ]
      description      = "Jenkins"
      from_port        = 443
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 443
    },
    {
      cidr_blocks = [
        "10.11.104.0/28",
        "10.250.197.128/25",
      ]
      description      = "EROS-Dev"
      from_port        = 443
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 443
    },
    {
      cidr_blocks = [
        "10.12.246.0/24",
      ]
      description      = "API Server access from eks mngr"
      from_port        = 443
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 443
    },
    {
      cidr_blocks = [
        "10.250.2.0/24",
      ]
      description      = "TowerVPC"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.250.2.0/24",
      ]
      description      = "TowerVPC"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.250.6.0/24",
        "10.251.12.0/22",
        "10.250.14.0/24",
        "10.250.227.0/24",
      ]
      description      = ""
      from_port        = 443
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 443
    },
    {
      cidr_blocks      = []
      description      = "Allow pods to communicate with the cluster API Server"
      from_port        = 443
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups = [
        "sg-04a914c70af40e385",
      ]
      self    = false
      to_port = 443
    },
    {
      cidr_blocks = [
        "10.250.37.0/24",
      ]
      description      = "ArgoCD"
      from_port        = 443
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 443
    },
  ]
  name = "sme-label-copy-schedule-dev-euc1-cluster-01-ControlPlane-SG"
  tags = {
    Business-Unit = "GRPS"
    Owner         = "Richard Mayer"
    Project-Code  = "2000-0497G"
    Project-Name  = "GRPS"
    Environment   = "Dev"
    CLOPS_FW      = "NO"
    Name          = "sme-label-copy-schedule-dev-euc1-cluster-01-ControlPlane-SG"
  }
  tags_all = {
    Business-Unit = "GRPS"
    Owner         = "Richard Mayer"
    Project-Code  = "2000-0497G"
    Project-Name  = "GRPS"
    Environment   = "Dev"
    CLOPS_FW      = "NO"
    Name          = "sme-label-copy-schedule-dev-euc1-cluster-01-ControlPlane-SG"
  }
  vpc_id = "vpc-0a688f309559be28f"

}

resource "aws_security_group" "sg-00888009d4045bbf2" {
  description = "grpsd2-dev-01-EFS-SG"
  egress = [
    {
      cidr_blocks = [
        "10.11.113.0/26",
      ]
      description      = "VPC CIDR-1"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.113.0/26",
      ]
      description      = "VPC CIDR-1"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.119.0/25",
      ]
      description      = "VPC CIDR-2"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.119.0/25",
      ]
      description      = "VPC CIDR-2"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.177.64/26",
      ]
      description      = "VPC CIDR"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.177.64/26",
      ]
      description      = "VPC CIDR"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.250.14.0/24",
      ]
      description      = "VPC CIDR-4"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.250.14.0/24",
      ]
      description      = "VPC CIDR-4"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.250.6.0/24",
        "10.251.12.0/22",
        "10.250.47.32/27",
      ]
      description      = "VPC CIDR-3"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.250.6.0/24",
        "10.251.12.0/22",
        "10.250.47.32/27",
      ]
      description      = "VPC CIDR-3"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "172.34.29.0/27",
        "172.34.29.32/27",
        "10.250.19.128/28",
      ]
      description      = "EOM-FF-P"
      from_port        = 9094
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 9094
    },
  ]
  ingress = [
    {
      cidr_blocks = [
        "10.11.113.0/26",
        "10.11.119.0/25",
        "10.250.6.0/24",
        "10.251.12.0/22",
        "10.11.177.64/26",
        "10.250.47.32/27",
      ]
      description      = "VPC CIDR"
      from_port        = 2049
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 2049
    },
    {
      cidr_blocks      = []
      description      = "From sme-label-copy-schedule-dev-euc1-cluster-01-worker-node"
      from_port        = 2049
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups = [
        "sg-04a914c70af40e385",
      ]
      self    = false
      to_port = 2049
    },
  ]
  name = "grpsd2-dev-01-EFS-SG"
  tags = {
    Business-Unit = "GRPS"
    Owner         = "Richard Mayer"
    Project-Code  = "2000-0497G"
    Project-Name  = "GRPS"
    Environment   = "Dev"
    CLOPS_FW      = "NO"
    Name          = "grpsd2-dev-01-EFS-SG"
  }
  tags_all = {
    Business-Unit = "GRPS"
    Owner         = "Richard Mayer"
    Project-Code  = "2000-0497G"
    Project-Name  = "GRPS"
    Environment   = "Dev"
    CLOPS_FW      = "NO"
    Name          = "grpsd2-dev-01-EFS-SG"
  }
  vpc_id = "vpc-0a688f309559be28f"

}

resource "aws_security_group" "sg-04db9f98ad056e587" {
  description = "default VPC security group"
  egress      = []
  ingress     = []
  name        = "default"
  tags = {
    "Business-Unit" = "GRPS"
    "Environment"   = "Dev"
    "Owner"         = "Richard Mayer"
    "Project-Code"  = "2000-0497G"
    "Project-Name"  = "GRPS"
    CLOPS_FW        = "NO"
    Name            = "default"
  }
  tags_all = {
    "Business-Unit" = "GRPS"
    "Environment"   = "Dev"
    "Owner"         = "Richard Mayer"
    "Project-Code"  = "2000-0497G"
    "Project-Name"  = "GRPS"
    CLOPS_FW        = "NO"
    Name            = "default"
  }
  vpc_id = "vpc-0a688f309559be28f"

}

resource "aws_security_group" "sg-0056e392bda8eb44e" {
  description = "GRPS-D2-RDS-DEV-SG"
  egress = [
    {
      cidr_blocks = [
        "0.0.0.0/0",
      ]
      description      = ""
      from_port        = 443
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 443
    },
    {
      cidr_blocks = [
        "10.11.113.0/26",
        "10.11.113.128/26",
      ]
      description      = ""
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.113.0/26",
        "10.11.113.128/26",
      ]
      description      = ""
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.114.96/27",
      ]
      description      = "aomad2-aoma-rds-sg"
      from_port        = 5432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 5432
    },
    {
      cidr_blocks = [
        "10.11.176.192/27",
      ]
      description      = "To CCSHARE-FF-APP-1A"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.176.192/27",
      ]
      description      = "To CCSHARE-FF-APP-1A"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.12.192.0/24",
      ]
      description      = "sma-redshift"
      from_port        = 5439
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 5439
    },
    {
      cidr_blocks = [
        "10.12.193.233/32",
      ]
      description      = "ca-prod-report-db.smeanalyticsapps.com"
      from_port        = 5439
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 5439
    },
    {
      cidr_blocks = [
        "10.12.246.0/25",
      ]
      description      = "To CLSHRD-P CIDR-1"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.12.246.0/25",
      ]
      description      = "To CLSHRD-P CIDR-1"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.12.246.64/26",
        "10.12.237.160/27",
      ]
      description      = "CLOPS-SMTP-EP"
      from_port        = 587
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 587
    },
    {
      cidr_blocks = [
        "10.250.2.0/24",
      ]
      description      = "To CLSHRD-P CIDR-2"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.250.2.0/24",
      ]
      description      = "To CLSHRD-P CIDR-2"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks      = []
      description      = ""
      from_port        = 5432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = true
      to_port          = 5432
    },
    {
      cidr_blocks      = []
      description      = "pgdbsibmg1"
      from_port        = 5432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups = [
        "sg-07bd5440ab68ccd4d",
      ]
      self    = false
      to_port = 5432
    },
  ]
  ingress = [
    {
      cidr_blocks = [
        "10.11.113.160/28",
        "10.11.113.176/28",
      ]
      description      = "Prod PG Subnet"
      from_port        = 5432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 5432
    },
    {
      cidr_blocks = [
        "10.11.113.187/32",
        "10.11.113.168/32",
        "10.250.6.0/24",
        "10.251.12.0/22",
      ]
      description      = ""
      from_port        = 5432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups = [
        "sg-004daf8155467cdf4",
        "sg-03d00384a05c6b8c6",
        "sg-0c3fce58db20cfa5d",
        "sg-0d7d1dd1c5f3ea3e1",
      ]
      self    = true
      to_port = 5432
    },
    {
      cidr_blocks = [
        "10.12.214.224/27",
        "10.12.214.192/27",
      ]
      description      = "aomad2-aoma-rds-sg"
      from_port        = 5432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 5432
    },
    {
      cidr_blocks = [
        "10.11.114.96/27",
      ]
      description      = "use-dev-cluster01-worker-nodes"
      from_port        = 5432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 5432
    },
    {
      cidr_blocks = [
        "10.11.119.0/25",
        "10.11.113.0/25",
      ]
      description      = "grpsd2-pgbouncer01"
      from_port        = 5432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 5432
    },
    {
      cidr_blocks = [
        "10.11.176.192/27",
      ]
      description      = "From CCSHARE-FF-APP-1A"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.176.192/27",
      ]
      description      = "From CCSHARE-FF-APP-1A"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.176.200/32",
      ]
      description      = "From cloudopsff-dbmonitor01"
      from_port        = 5432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 5432
    },
    {
      cidr_blocks = [
        "10.11.96.133/32",
      ]
      description      = "gtunxlvz06526.server.arvato-systems.de"
      from_port        = 5432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 5432
    },
    {
      cidr_blocks = [
        "10.11.96.134/32",
      ]
      description      = "gtunxlvs07013.server.arvato-systems.de"
      from_port        = 5432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 5432
    },
    {
      cidr_blocks = [
        "10.11.96.165/32",
      ]
      description      = "gtunxlvv07016.server.arvato-systems.de"
      from_port        = 5432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 5432
    },
    {
      cidr_blocks = [
        "10.11.96.166/32",
      ]
      description      = "gtunxlvw07017.server.arvato-systems.de"
      from_port        = 5432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 5432
    },
    {
      cidr_blocks = [
        "10.11.96.164/32",
      ]
      description      = "gtunxlvj19640.server.arvato-systems.de"
      from_port        = 5432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 5432
    },
    {
      cidr_blocks = [
        "10.11.96.167/32",
      ]
      description      = "gtunxlvk19641.server.arvato-systems.de"
      from_port        = 5432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 5432
    },
    {
      cidr_blocks = [
        "10.12.246.64/27",
      ]
      description      = "SSH from clshrd-bastion01"
      from_port        = 5432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 5432
    },
    {
      cidr_blocks = [
        "10.250.2.64/27",
      ]
      description      = "SSH from clshrd-tower01"
      from_port        = 5432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 5432
    },
    {
      cidr_blocks      = []
      description      = "GRPS-D2-PGB-RO-SG"
      from_port        = 5432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups = [
        "sg-05b97309a6c55dae3",
      ]
      self    = false
      to_port = 5432
    },
    {
      cidr_blocks      = []
      description      = "GRPS-D2-RDS-INT-SG"
      from_port        = 5432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups = [
        "sg-07bd5440ab68ccd4d",
      ]
      self    = false
      to_port = 5432
    },
    {
      cidr_blocks      = []
      description      = "Secret rotation Lambda"
      from_port        = 5432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups = [
        "sg-0a60934ec54a60dd2",
      ]
      self    = false
      to_port = 5432
    },
    {
      cidr_blocks      = ["10.11.116.0/26", "10.249.2.0/28", "10.250.243.0/25"]
      description      = "DX3-D1-RDS"
      from_port        = 5432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 5432
    },
  ]
  name = "GRPS-D2-RDS-DEV-SG"
  tags = {
    "Business-Unit" = "GRPS"
    "Environment"   = "Dev"
    "Name"          = "GRPS-D2-RDS-DEV-SG"
    "Owner"         = "Richard Mayer"
    "Project-Code"  = "2000-0497G"
    "Project-Name"  = "GRPS"
    CLOPS_FW        = "NO"
  }
  tags_all = {
    "Business-Unit" = "GRPS"
    "Environment"   = "Dev"
    "Name"          = "GRPS-D2-RDS-DEV-SG"
    "Owner"         = "Richard Mayer"
    "Project-Code"  = "2000-0497G"
    "Project-Name"  = "GRPS"
    CLOPS_FW        = "NO"
  }
  vpc_id = "vpc-0a688f309559be28f"

}

resource "aws_security_group" "sg-05ec532e8015c2052" {
  description = "GRPS-D2-PGBOUNCER_INT-SG"
  egress = [
    {
      cidr_blocks = [
        "0.0.0.0/0",
      ]
      description      = ""
      from_port        = 5432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 5432
    },
    {
      cidr_blocks = [
        "0.0.0.0/0",
      ]
      description      = "HTTP"
      from_port        = 80
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 80
    },
    {
      cidr_blocks = [
        "0.0.0.0/0",
      ]
      description      = "HTTPS"
      from_port        = 443
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 443
    },
    {
      cidr_blocks = [
        "10.11.113.0/26",
      ]
      description      = "VPC-CIDR-1"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.113.0/26",
      ]
      description      = "VPC-CIDR-1"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.113.128/26",
      ]
      description      = "GRPS-P2-VPC-CIDR"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.113.128/26",
      ]
      description      = "GRPS-P2-VPC-CIDR"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.119.0/25",
      ]
      description      = "VPC-CIDR-2"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.119.0/25",
      ]
      description      = "VPC-CIDR-2"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.12.192.0/23",
      ]
      description      = "Redshift-SME-SMAnalytics"
      from_port        = 5439
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 5439
    },
    {
      cidr_blocks = [
        "10.12.246.64/26",
        "10.12.237.160/27",
      ]
      description      = "CLOPS-SMTP-EP"
      from_port        = 587
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 587
    },
    {
      cidr_blocks = [
        "10.250.14.0/24",
      ]
      description      = "VPC-CIDR-4"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.250.14.0/24",
      ]
      description      = "VPC-CIDR-4"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.250.6.0/24",
        "10.251.12.0/22",
      ]
      description      = "VPC-CIDR-3"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.250.6.0/24",
        "10.251.12.0/22",
      ]
      description      = "VPC-CIDR-3"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "162.49.203.44/31",
      ]
      description      = "DNS"
      from_port        = 53
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 53
    },
    {
      cidr_blocks = [
        "162.49.203.44/31",
      ]
      description      = "DNS"
      from_port        = 53
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 53
    },
    {
      cidr_blocks = [
        "0.0.0.0/0",
      ]
      description      = "NTP"
      from_port        = 123
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 123
    },
    {
      cidr_blocks = [
        "0.0.0.0/0",
      ]
      description      = "NTP"
      from_port        = 123
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 123
    },
    {
      cidr_blocks      = ["10.12.214.160/27"]
      description      = "grpsnv-d3-rds-sng"
      from_port        = 5432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 5432
    },
    {
      cidr_blocks      = ["10.12.214.160/27"]
      description      = "grpsnv-d3-rds-sng"
      from_port        = 6432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 6432
    },
  ]
  ingress = [
    {
      cidr_blocks = [
        "10.11.113.32/28",
      ]
      description      = ""
      from_port        = 22
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 22
    },
    {
      cidr_blocks = [
        "10.11.176.200/32",
      ]
      description      = "cloudopsff-dbmonitor01"
      from_port        = 22
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 22
    },
    {
      cidr_blocks = [
        "10.11.176.200/32",
        "10.12.214.128/25"
      ]
      description      = "cloudopsff-dbmonitor01"
      from_port        = 6432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 6432
    },
    {
      cidr_blocks = [
        "10.11.96.164/32",
        "10.11.96.167/32",
      ]
      description      = "CLOUDOPS-20303"
      from_port        = 6432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 6432
    },
    {
      cidr_blocks = [
        "10.11.176.219/32",
      ]
      description      = "cloudopsff-bastion02"
      from_port        = 22
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 22
    },
    {
      cidr_blocks = [
        "10.11.176.219/32",
      ]
      description      = "cloudopsff-bastion02"
      from_port        = 6432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 6432
    },
    {
      cidr_blocks = [
        "10.11.96.133/32",
      ]
      description      = "6432 from gtunxlvz06526.server.arvato-systems.de"
      from_port        = 6432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 6432
    },
    {
      cidr_blocks = [
        "10.11.96.134/32",
      ]
      description      = "6432 from gtunxlvs07013.server.arvato-systems.de"
      from_port        = 6432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 6432
    },
    {
      cidr_blocks = [
        "10.11.96.165/32",
      ]
      description      = "6432 from gtunxlvv07016.server.arvato-systems.de"
      from_port        = 6432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 6432
    },
    {
      cidr_blocks = [
        "10.11.96.166/32",
        "10.219.16.0/21"
      ]
      description      = "6432 from gtunxlvw07017.server.arvato-systems.de"
      from_port        = 6432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 6432
    },
    {
      cidr_blocks = [
        "10.12.246.75/32",
      ]
      description      = "clshrd-bastion01"
      from_port        = 22
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 22
    },
    {
      cidr_blocks = [
        "10.12.246.75/32",
      ]
      description      = "clshrd-bastion01"
      from_port        = 6432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 6432
    },
    {
      cidr_blocks = [
        "10.250.2.64/27",
      ]
      description      = "Ansible_Tower"
      from_port        = 22
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 22
    },
    {
      cidr_blocks = [
        "162.49.169.132/32",
      ]
      description      = "6432 from degtlun5843.server.arvato-systems.de"
      from_port        = 6432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 6432
    },
    {
      cidr_blocks = [
        "162.49.169.228/32",
      ]
      description      = "6432 from degtlun5844.server.arvato-systems.de"
      from_port        = 6432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 6432
    },
    {
      cidr_blocks      = []
      description      = ""
      from_port        = 6432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups = [
        "sg-04a914c70af40e385",
      ]
      self    = false
      to_port = 6432
    },
    {
      cidr_blocks      = []
      description      = "6432 from GRPS-D2-APP01-SG"
      from_port        = 6432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups = [
        "sg-0d7d1dd1c5f3ea3e1",
      ]
      self    = false
      to_port = 6432
    },
    {
      cidr_blocks      = []
      description      = "6432 from GRPS-D2-EC2-SYMMETRICDS01-SG"
      from_port        = 6432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups = [
        "sg-0c3fce58db20cfa5d",
      ]
      self    = false
      to_port = 6432
    },
    {
      cidr_blocks      = []
      description      = "6432 from GRPS-D2-PGEDB-SG"
      from_port        = 6432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups = [
        "sg-004daf8155467cdf4",
      ]
      self    = false
      to_port = 6432
    },
    {
      cidr_blocks      = []
      description      = "6432 from grpsd2-utilities01"
      from_port        = 6432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups = [
        "sg-03d00384a05c6b8c6",
      ]
      self    = false
      to_port = 6432
    },
    {
      cidr_blocks      = ["10.12.214.192/27"]
      description      = "GRPSNV-D3-IDMZ-1A"
      from_port        = 6432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 6432
    },
    {
      cidr_blocks      = ["10.12.214.224/27"]
      description      = "GRPSNV-D3-IDMZ-1B"
      from_port        = 6432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 6432
    },
  ]
  name = "GRPS-D2-PGBOUNCER_INT-SG"
  tags = {
    "Business-Unit" = "GRPS"
    "Environment"   = "Dev"
    "Owner"         = "Richard Mayer"
    "Patch Group"   = "General"
    "Project-Code"  = "2000-0497G"
    "Project-Name"  = "GRPS"
    Name            = "GRPS-D2-PGBOUNCER_INT-SG"
    CLOPS_FW        = "NO"
  }
  tags_all = {
    "Business-Unit" = "GRPS"
    "Environment"   = "Dev"
    "Owner"         = "Richard Mayer"
    "Patch Group"   = "General"
    "Project-Code"  = "2000-0497G"
    "Project-Name"  = "GRPS"
    Name            = "GRPS-D2-PGBOUNCER_INT-SG"
    CLOPS_FW        = "NO"
  }
  vpc_id = "vpc-0a688f309559be28f"

}

resource "aws_security_group" "sg-09bd75b1fdea22e43" {
  description = "GRPS-D2-ANSIBLE-SG"
  egress = [
    {
      cidr_blocks = [
        "10.11.113.0/26",
      ]
      description      = ""
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.113.0/26",
      ]
      description      = ""
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.176.192/27",
      ]
      description      = "To CCSHARE-FF-APP-1A"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.176.192/27",
      ]
      description      = "To CCSHARE-FF-APP-1A"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.12.246.0/25",
      ]
      description      = "To CLSHRD-P CIDR-1"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.12.246.0/25",
      ]
      description      = "To CLSHRD-P CIDR-1"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.250.2.0/24",
      ]
      description      = "To CLSHRD-P CIDR-2"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.250.2.0/24",
      ]
      description      = "To CLSHRD-P CIDR-2"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
  ]
  ingress = [
    {
      cidr_blocks = [
        "10.11.176.192/27",
      ]
      description      = "From CCSHARE-FF-APP-1A"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.176.192/27",
      ]
      description      = "From CCSHARE-FF-APP-1A"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.12.236.160/27",
      ]
      description      = "ANSIBLE-TOWER-RDP"
      from_port        = 3389
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 3389
    },
    {
      cidr_blocks = [
        "10.12.236.160/27",
      ]
      description      = "ANSIBLE-TOWER-SSH"
      from_port        = 22
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 22
    },
    {
      cidr_blocks = [
        "10.250.2.64/27",
      ]
      description      = "AnsibleTower"
      from_port        = 22
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 22
    },
  ]
  name = "GRPS-D2-ANSIBLE-SG"
  tags = {
    "Business-Unit" = "GRPS"
    "Environment"   = "Dev"
    "Owner"         = "Richard Mayer"
    "Project-Code"  = "2000-0497G"
    "Project-Name"  = "GRPS"
    Name            = "GRPS-D2-ANSIBLE-SG"
    CLOPS_FW        = "NO"
  }
  tags_all = {
    "Business-Unit" = "GRPS"
    "Environment"   = "Dev"
    "Owner"         = "Richard Mayer"
    "Project-Code"  = "2000-0497G"
    "Project-Name"  = "GRPS"
    Name            = "GRPS-D2-ANSIBLE-SG"
    CLOPS_FW        = "NO"
  }
  vpc_id = "vpc-0a688f309559be28f"

}

resource "aws_security_group" "sg-0d7d1dd1c5f3ea3e1" {
  description = "GRPS-D2-APP01-SG"
  egress = [
    {
      cidr_blocks = [
        "0.0.0.0/0",
      ]
      description      = ""
      from_port        = 443
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 443
    },
    {
      cidr_blocks = [
        "10.0.0.0/8",
      ]
      description      = "MSK"
      from_port        = 9094
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 9094
    },
    {
      cidr_blocks = [
        "10.0.0.0/8",
      ]
      description      = "MSK"
      from_port        = 9098
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 9098
    },
    {
      cidr_blocks = [
        "0.0.0.0/0",
      ]
      description      = ""
      from_port        = 80
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 80
    },
    {
      cidr_blocks = [
        "10.11.113.0/26",
        "10.11.113.128/26",
        "10.11.119.0/26",
      ]
      description      = ""
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.113.0/26",
        "10.11.113.128/26",
        "10.11.119.0/26",
      ]
      description      = ""
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.119.0/25",
        "10.250.6.0/24",
        "10.251.12.0/22",
      ]
      description      = "vpc-cidr"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.119.0/25",
        "10.250.6.0/24",
        "10.251.12.0/22",
      ]
      description      = "vpc-cidr"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.176.0/24",
      ]
      description      = "SHARED"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.176.0/24",
      ]
      description      = "SHARED"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.176.192/27",
      ]
      description      = "To CCSHARE-FF-APP-1A"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.176.192/27",
      ]
      description      = "To CCSHARE-FF-APP-1A"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.177.128/25",
      ]
      description      = "GDS-D1"
      from_port        = 9098
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 9098
    },
    {
      cidr_blocks = [
        "10.11.178.160/27", "10.11.119.128/26"
      ]
      description      = "grpsp2-application01.smearsys.com"
      from_port        = 22
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 22
    },
    {
      cidr_blocks = [
        "10.11.180.0/25",
      ]
      description      = "GDS-U-Kafka"
      from_port        = 9098
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 9098
    },
    {
      cidr_blocks = [
        "10.11.180.128/25",
      ]
      description      = "MSK sme-global-msk-prod"
      from_port        = 443
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 443
    },
    {
      cidr_blocks = [
        "10.11.180.128/25",
      ]
      description      = "MSK sme-global-msk-prod"
      from_port        = 9098
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 9098
    },
    {
      cidr_blocks = [
        "10.12.192.0/23",
      ]
      description      = "SME SMAnalytics"
      from_port        = 5439
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 5439
    },
    {
      cidr_blocks = [
        "10.12.214.135/32",
      ]
      description      = "grpsnvd3-application01.smearsys.com"
      from_port        = 22
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 22
    },
    {
      cidr_blocks = [
        "10.12.240.0/24",
      ]
      description      = "SWITCHBOARD-QA"
      from_port        = 9094
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 9094
    },
    {
      cidr_blocks = [
        "10.12.246.0/25",
      ]
      description      = "To CLSHRD-P CIDR-1"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.12.246.0/25",
      ]
      description      = "To CLSHRD-P CIDR-1"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.12.246.64/26",
        "10.12.237.160/27",
      ]
      description      = "CLOPS-SMTP-EP"
      from_port        = 587
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 587
    },
    {
      cidr_blocks = [
        "10.12.252.0/24",
      ]
      description      = "ORCHARD-P"
      from_port        = 9094
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 9094
    },
    {
      cidr_blocks = [
        "10.250.19.128/28",
      ]
      description      = ""
      from_port        = 9094
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 9094
    },
    {
      cidr_blocks = [
        "10.250.2.0/24",
      ]
      description      = "To CLSHRD-P CIDR-2"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.250.2.0/24",
      ]
      description      = "To CLSHRD-P CIDR-2"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "162.49.203.44/32",
      ]
      description      = "InfoBlox"
      from_port        = 53
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 53
    },
    {
      cidr_blocks = [
        "162.49.203.44/32",
      ]
      description      = "InfoBlox"
      from_port        = 53
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 53
    },
    {
      cidr_blocks = [
        "162.49.251.209/32",
      ]
      description      = "gtunxlva06527.server.arvato-systems.de"
      from_port        = 17210
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 17210
    },
    {
      cidr_blocks = [
        "162.49.251.209/32",
      ]
      description      = "gtunxlva06527.server.arvato-systems.de"
      from_port        = 17710
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 17710
    },
    {
      cidr_blocks = [
        "162.49.251.209/32",
      ]
      description      = "gtunxlva06527.server.arvato-systems.de"
      from_port        = 9094
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 9094
    },
    {
      cidr_blocks = [
        "162.49.251.209/32",
      ]
      description      = "tsmegrps.arvato-systems.de"
      from_port        = 11700
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 11700
    },
    {
      cidr_blocks = [
        "162.49.251.209/32",
      ]
      description      = "tsmegrps.arvato-systems.de"
      from_port        = 11703
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 11703
    },
    {
      cidr_blocks = [
        "162.49.251.209/32",
      ]
      description      = "tsmegrps.arvato-systems.de"
      from_port        = 17530
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 17530
    },
    {
      cidr_blocks = [
        "162.49.251.8/32",
      ]
      description      = "gtunxlvu07015.server.arvato-systems.de"
      from_port        = 8230
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 8230
    },
    {
      cidr_blocks = [
        "172.34.16.128/25",
      ]
      description      = "EOM-FF-S"
      from_port        = 9094
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 9094
    },
    {
      cidr_blocks = [
        "172.34.29.0/25",
      ]
      description      = "EOM-FF-P"
      from_port        = 9094
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 9094
    },
    {
      cidr_blocks = [
        "172.34.29.0/27",
      ]
      description      = "EOM-FF-P-XAPP-1A"
      from_port        = 9094
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 9094
    },
    {
      cidr_blocks = [
        "172.34.29.32/27",
      ]
      description      = "EOM-FF-P-XAPP-1B"
      from_port        = 9094
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 9094
    },
    {
      cidr_blocks = [
        "0.0.0.0/0",
      ]
      description      = "NTP"
      from_port        = 123
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 123
    },
    {
      cidr_blocks = [
        "0.0.0.0/0",
      ]
      description      = "NTP"
      from_port        = 123
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 123
    },
  ]
  ingress = [
    {
      cidr_blocks = [
        "10.11.113.0/26",
        "10.11.119.0/25",
        "10.250.6.0/24",
        "10.251.12.0/22",
        "10.250.14.0/24",
      ]
      description      = "VPC"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.113.0/26",
        "10.11.119.0/25",
        "10.250.6.0/24",
        "10.251.12.0/22",
        "10.250.14.0/24",
      ]
      description      = "VPC"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.176.0/24",
      ]
      description      = "SHARED"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.176.0/24",
      ]
      description      = "SHARED"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.176.192/27",
      ]
      description      = "From CCSHARE-FF-APP-1A"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.176.192/27",
      ]
      description      = "From CCSHARE-FF-APP-1A"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.178.160/27", "10.11.119.128/26"
      ]
      description      = "grpsp2-application01.smearsys.com"
      from_port        = 22
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 22
    },
    {
      cidr_blocks = [
        "10.12.214.135/32",
      ]
      description      = "grpsnvd3-application01.smearsys.com"
      from_port        = 22
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 22
    },
    {
      cidr_blocks = [
        "10.12.222.0/24",
      ]
      description      = "InfoSec-VPC"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.12.222.0/24",
      ]
      description      = "InfoSec-VPC"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.12.246.0/25",
      ]
      description      = "Shared-VPC"
      from_port        = 22
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 22
    },
    {
      cidr_blocks = [
        "10.250.2.64/27",
      ]
      description      = "AnsibleTower"
      from_port        = 22
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 22
    },
    {
      cidr_blocks = [
        "10.250.2.85/32",
      ]
      description      = "clshrd-utils01"
      from_port        = 22
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 22
    },
    {
      cidr_blocks      = []
      description      = "ALB-SG"
      from_port        = 28082
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups = [
        "sg-00fa6d029ff64b86c",
      ]
      self    = false
      to_port = 28082
    },
    {
      cidr_blocks      = []
      description      = "ALB-SG"
      from_port        = 8081
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups = [
        "sg-00fa6d029ff64b86c",
      ]
      self    = false
      to_port = 8081
    },
    {
      cidr_blocks      = []
      description      = "GRPS-D2-INT-LB-SG"
      from_port        = 28081
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups = [
        "sg-00fa6d029ff64b86c",
      ]
      self    = false
      to_port = 28081
    },
    {
      cidr_blocks      = []
      description      = "GRPS-D2-INT-LB-SG"
      from_port        = 8080
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups = [
        "sg-00fa6d029ff64b86c",
      ]
      self    = false
      to_port = 8080
    },
    {
      cidr_blocks      = []
      description      = "SELF"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = true
      to_port          = 65535
    },
    {
      cidr_blocks      = []
      description      = "SELF"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = true
      to_port          = 65535
    },
  ]
  name = "GRPS-D2-APP01-SG"
  tags = {
    "Business-Unit" = "GRPS"
    "Environment"   = "Dev"
    "Name"          = "GRPS-D2-APP01-SG"
    "Owner"         = "Richard Mayer"
    "Project-Code"  = "2000-0497G"
    "Project-Name"  = "GRPS"
    CLOPS_FW        = "NO"
  }
  tags_all = {
    "Business-Unit" = "GRPS"
    "Environment"   = "Dev"
    "Name"          = "GRPS-D2-APP01-SG"
    "Owner"         = "Richard Mayer"
    "Project-Code"  = "2000-0497G"
    "Project-Name"  = "GRPS"
    CLOPS_FW        = "NO"
  }
  vpc_id = "vpc-0a688f309559be28f"

}

resource "aws_security_group" "sg-05644a1b70b52fbfa" {
  description = "GRPS-D2-PGBOUNCER-SG"
  egress = [
    {
      cidr_blocks = [
        "0.0.0.0/0",
      ]
      description      = "HTTP"
      from_port        = 80
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 80
    },
    {
      cidr_blocks = [
        "0.0.0.0/0",
      ]
      description      = "HTTPS"
      from_port        = 443
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 443
    },
    {
      cidr_blocks = [
        "10.11.113.0/26",
      ]
      description      = "VPC-CIDR-1"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.113.0/26",
      ]
      description      = "VPC-CIDR-1"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.113.128/26",
      ]
      description      = "GRPS-P2-VPC-CIDR"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.113.128/26",
      ]
      description      = "GRPS-P2-VPC-CIDR"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.119.0/25",
      ]
      description      = "VPC-CIDR-2"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.119.0/25",
      ]
      description      = "VPC-CIDR-2"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.12.192.0/23",
      ]
      description      = "Redshift-SME-SMAnalytics"
      from_port        = 5439
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 5439
    },
    {
      cidr_blocks = [
        "10.12.246.64/26",
        "10.12.237.160/27",
      ]
      description      = "CLOPS-SMTP-EP"
      from_port        = 587
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 587
    },
    {
      cidr_blocks = [
        "10.250.14.0/24",
      ]
      description      = "VPC-CIDR-4"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.250.14.0/24",
      ]
      description      = "VPC-CIDR-4"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.250.6.0/24",
        "10.251.12.0/22",
      ]
      description      = "VPC-CIDR-3"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.250.6.0/24",
        "10.251.12.0/22",
      ]
      description      = "VPC-CIDR-3"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "162.49.203.44/31",
      ]
      description      = "DNS"
      from_port        = 53
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 53
    },
    {
      cidr_blocks = [
        "162.49.203.44/31",
      ]
      description      = "DNS"
      from_port        = 53
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 53
    },
    {
      cidr_blocks = [
        "0.0.0.0/0",
      ]
      description      = "NTP"
      from_port        = 123
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 123
    },
    {
      cidr_blocks = [
        "0.0.0.0/0",
      ]
      description      = "NTP"
      from_port        = 123
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 123
    },
    {
      cidr_blocks      = ["10.12.214.160/27"]
      description      = "grpsnv-d3-rds-sng"
      from_port        = 5432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 5432
    },
    {
      cidr_blocks      = ["10.12.214.160/27"]
      description      = "grpsnv-d3-rds-sng"
      from_port        = 6432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 6432
    },
  ]
  ingress = [
    {
      cidr_blocks = [
        "10.11.113.32/28",
      ]
      description      = ""
      from_port        = 22
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 22
    },
    {
      cidr_blocks = [
        "10.12.214.192/27",
      ]
      description      = "worker-node"
      from_port        = 6432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 6432
    },
    {
      cidr_blocks = [
        "10.11.96.164/32",
        "10.11.96.167/32",
      ]
      description      = "CLOUDOPS-20303"
      from_port        = 6432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 6432
    },
    {
      cidr_blocks = [
        "10.12.214.224/27",
      ]
      description      = "worker-node"
      from_port        = 6432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 6432
    },
    {
      cidr_blocks = [
        "10.11.176.200/32",
      ]
      description      = "cloudopsff-dbmonitor01"
      from_port        = 22
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 22
    },
    {
      cidr_blocks = [
        "10.11.176.200/32",
      ]
      description      = "cloudopsff-dbmonitor01"
      from_port        = 6432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 6432
    },
    {
      cidr_blocks = [
        "10.11.176.219/32",
      ]
      description      = "cloudopsff-bastion02"
      from_port        = 22
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 22
    },
    {
      cidr_blocks = [
        "10.11.176.219/32",
      ]
      description      = "cloudopsff-bastion02"
      from_port        = 6432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 6432
    },
    {
      cidr_blocks = [
        "10.11.96.133/32",
      ]
      description      = "6432 from gtunxlvz06526.server.arvato-systems.de"
      from_port        = 6432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 6432
    },
    {
      cidr_blocks = [
        "10.11.96.134/32",
      ]
      description      = "6432 from gtunxlvs07013.server.arvato-systems.de"
      from_port        = 6432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 6432
    },
    {
      cidr_blocks = [
        "10.11.96.165/32",
      ]
      description      = "6432 from gtunxlvv07016.server.arvato-systems.de"
      from_port        = 6432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 6432
    },
    {
      cidr_blocks = [
        "10.11.96.166/32",
      ]
      description      = "6432 from gtunxlvw07017.server.arvato-systems.de"
      from_port        = 6432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 6432
    },
    {
      cidr_blocks = [
        "10.12.246.75/32",
      ]
      description      = "clshrd-bastion01"
      from_port        = 22
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 22
    },
    {
      cidr_blocks = [
        "10.12.246.75/32",
      ]
      description      = "clshrd-bastion01"
      from_port        = 6432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 6432
    },
    {
      cidr_blocks = [
        "10.250.2.64/27",
      ]
      description      = "Ansible_Tower"
      from_port        = 22
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 22
    },
    {
      cidr_blocks = [
        "10.250.6.0/24",
        "10.251.12.0/22",
      ]
      description      = ""
      from_port        = 6432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 6432
    },
    {
      cidr_blocks = [
        "162.49.169.132/32",
      ]
      description      = "6432 from degtlun5843.server.arvato-systems.de"
      from_port        = 6432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 6432
    },
    {
      cidr_blocks = [
        "162.49.169.228/32",
      ]
      description      = "6432 from degtlun5844.server.arvato-systems.de"
      from_port        = 6432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 6432
    },
    {
      cidr_blocks      = []
      description      = "6432 from GRPS-D2-APP01-SG"
      from_port        = 6432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups = [
        "sg-0d7d1dd1c5f3ea3e1",
      ]
      self    = false
      to_port = 6432
    },
    {
      cidr_blocks      = []
      description      = "6432 from GRPS-D2-EC2-SYMMETRICDS01-SG"
      from_port        = 6432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups = [
        "sg-0c3fce58db20cfa5d",
      ]
      self    = false
      to_port = 6432
    },
    {
      cidr_blocks      = []
      description      = "6432 from GRPS-D2-PGEDB-SG"
      from_port        = 6432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups = [
        "sg-004daf8155467cdf4",
      ]
      self    = false
      to_port = 6432
    },
    {
      cidr_blocks      = []
      description      = "6432 from grpsd2-utilities01"
      from_port        = 6432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups = [
        "sg-03d00384a05c6b8c6",
      ]
      self    = false
      to_port = 6432
    },
    {
      cidr_blocks = [
        "10.11.119.0/25",
      ]
      description      = ""
      from_port        = 6432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 6432
    },
  ]
  name = "GRPS-D2-PGBOUNCER-SG"
  tags = {
    "Business-Unit" = "GRPS"
    "Environment"   = "Dev"
    "Owner"         = "Richard Mayer"
    "Patch Group"   = "General"
    "Project-Code"  = "2000-0497G"
    "Project-Name"  = "GRPS"
    CLOPS_FW        = "NO"
    Name            = "GRPS-D2-PGBOUNCER-SG"
  }
  tags_all = {
    "Business-Unit" = "GRPS"
    "Environment"   = "Dev"
    "Owner"         = "Richard Mayer"
    "Patch Group"   = "General"
    "Project-Code"  = "2000-0497G"
    "Project-Name"  = "GRPS"
    Name            = "GRPS-D2-PGBOUNCER-SG"
    CLOPS_FW        = "NO"
  }
  vpc_id = "vpc-0a688f309559be28f"

}

resource "aws_security_group" "sg-05b97309a6c55dae3" {
  description = "GRPS-D2-PGB-RO-SG"
  egress = [
    {
      cidr_blocks = [
        "0.0.0.0/0",
      ]
      description      = "HTTP"
      from_port        = 80
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 80
    },
    {
      cidr_blocks = [
        "0.0.0.0/0",
      ]
      description      = "HTTPS"
      from_port        = 443
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 443
    },
    {
      cidr_blocks = [
        "10.11.113.0/26",
      ]
      description      = "VPC-CIDR-1"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.113.0/26",
      ]
      description      = "VPC-CIDR-1"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.113.128/26",
      ]
      description      = ""
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.113.128/26",
      ]
      description      = ""
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.176.192/27",
      ]
      description      = "To CCSHARE-FF-APP-1A"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.176.192/27",
      ]
      description      = "To CCSHARE-FF-APP-1A"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.12.192.0/23",
      ]
      description      = "SME SMAnalytics"
      from_port        = 5439
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 5439
    },
    {
      cidr_blocks = [
        "10.12.246.0/25",
      ]
      description      = "Shared-VPC"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.12.246.0/25",
      ]
      description      = "Shared-VPC"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.12.246.64/26",
        "10.12.237.160/27",
      ]
      description      = "CLOPS-SMTP-EP"
      from_port        = 587
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 587
    },
    {
      cidr_blocks = [
        "162.49.203.44/31",
      ]
      description      = "DNS"
      from_port        = 53
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 53
    },
    {
      cidr_blocks = [
        "162.49.203.44/31",
      ]
      description      = "DNS"
      from_port        = 53
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 53
    },
  ]
  ingress = [
    {
      cidr_blocks = [
        "10.11.113.39/32",
      ]
      description      = "From grpsd2-utilities02.smegrpsd2.net"
      from_port        = 22
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 22
    },
    {
      cidr_blocks = [
        "10.11.176.192/27",
      ]
      description      = "From CCSHARE-FF-APP-1A"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.176.192/27",
      ]
      description      = "From CCSHARE-FF-APP-1A"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.11.176.200/32",
      ]
      description      = "From cloudopsff-dbmonitor01"
      from_port        = 6432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 6432
    },
    {
      cidr_blocks = [
        "10.11.96.133/32",
      ]
      description      = "6432 from gtunxlvz06526.server.arvato-systems.de"
      from_port        = 6432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 6432
    },
    {
      cidr_blocks = [
        "10.11.96.134/32",
      ]
      description      = "6432 from gtunxlvs07013.server.arvato-systems.de"
      from_port        = 6432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 6432
    },
    {
      cidr_blocks = [
        "10.11.96.165/32",
      ]
      description      = "6432 from gtunxlvv07016.server.arvato-systems.de"
      from_port        = 6432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 6432
    },
    {
      cidr_blocks = [
        "10.11.96.166/32",
      ]
      description      = "6432 from gtunxlvw07017.server.arvato-systems.de"
      from_port        = 6432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 6432
    },
    {
      cidr_blocks = [
        "10.12.222.0/24",
      ]
      description      = "InfoSec-VPC"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.12.222.0/24",
      ]
      description      = "InfoSec-VPC"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "udp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
    {
      cidr_blocks = [
        "10.12.246.0/25",
      ]
      description      = "Shared-VPC"
      from_port        = 22
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 22
    },
    {
      cidr_blocks = [
        "10.12.246.0/25",
      ]
      description      = "Shared-VPC"
      from_port        = 6432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 6432
    },
    {
      cidr_blocks = [
        "10.250.2.0/24",
      ]
      description      = "CIS"
      from_port        = 22
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 22
    },
    {
      cidr_blocks = [
        "10.250.2.91/32",
      ]
      description      = "SSH from Tower"
      from_port        = 22
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 22
    },
    {
      cidr_blocks = [
        "162.49.169.132/32",
      ]
      description      = "6432 from degtlun5843.server.arvato-systems.de"
      from_port        = 6432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 6432
    },
    {
      cidr_blocks = [
        "162.49.169.228/32",
      ]
      description      = "6432 from degtlun5844.server.arvato-systems.de"
      from_port        = 6432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 6432
    },
    {
      cidr_blocks      = []
      description      = "6432 from GRPS-D2-APP01-SG"
      from_port        = 6432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups = [
        "sg-0d7d1dd1c5f3ea3e1",
      ]
      self    = false
      to_port = 6432
    },
    {
      cidr_blocks      = []
      description      = "6432 from GRPS-D2-EC2-SYMMETRICDS01-SG"
      from_port        = 6432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups = [
        "sg-0c3fce58db20cfa5d",
      ]
      self    = false
      to_port = 6432
    },
    {
      cidr_blocks      = []
      description      = "6432 from GRPS-D2-PGEDB-SG"
      from_port        = 6432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups = [
        "sg-004daf8155467cdf4",
      ]
      self    = false
      to_port = 6432
    },
    {
      cidr_blocks      = []
      description      = "6432 from grpsd2-utilities01"
      from_port        = 6432
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups = [
        "sg-03d00384a05c6b8c6",
      ]
      self    = false
      to_port = 6432
    },
  ]
  name = "GRPS-D2-PGB-RO-SG"
  tags = {
    "Business-Unit" = "GRPS"
    "Environment"   = "Dev"
    "Owner"         = "Richard Mayer"
    "Project-Code"  = "2000-0497G"
    "Project-Name"  = "GRPS"
    CLOPS_FW        = "NO"
    "Patch Group"   = "General"
    Name            = "GRPS-D2-PGB-RO-SG"
  }
  tags_all = {
    "Business-Unit" = "GRPS"
    "Environment"   = "Dev"
    "Owner"         = "Richard Mayer"
    "Patch Group"   = "General"
    "Project-Code"  = "2000-0497G"
    "Project-Name"  = "GRPS"
    CLOPS_FW        = "NO"
    Name            = "GRPS-D2-PGB-RO-SG"
  }
  vpc_id = "vpc-0a688f309559be28f"

}

#resource "aws_security_group" "k8s-stagefed-federati-7c4191910e" {
#  description = "[k8s] Managed SecurityGroup for LoadBalancer"
#  egress = [{
#    cidr_blocks      = ["0.0.0.0/0"]
#    description      = ""
#    from_port        = 0
#    ipv6_cidr_blocks = []
#    prefix_list_ids  = []
#    protocol         = "tcp"
#    security_groups  = []
#    self             = false
#    to_port          = 65535
#  },
#            {
#    cidr_blocks      = ["0.0.0.0/0"]
#    description      = ""
#    from_port        = 0
#    ipv6_cidr_blocks = []
#    prefix_list_ids  = []
#    protocol         = "udp"
#    security_groups  = []
#    self             = false
#    to_port          = 65535
#  }  
#  ]
#  ingress = [{
#    cidr_blocks      = ["115.112.36.106/32", "115.112.65.139/32", "115.112.65.140/32", "122.186.213.222/32", "122.187.191.74/32", "122.187.191.76/32", "40.87.111.207/32", "52.142.13.64/32", "84.17.180.232/32"]
#    description      = ""
#    from_port        = 443
#    ipv6_cidr_blocks = []
#    prefix_list_ids  = []
#    protocol         = "tcp"
#    security_groups  = []
#    self             = false
#    to_port          = 443
#  }]
#  name                   = "k8s-stagefed-federati-7c4191910e"
#  name_prefix            = null
#  revoke_rules_on_delete = null
#  tags = {
#    Name                       = "federation-ingress-alb-ext"
#    "elbv2.k8s.aws/cluster"    = "sme-label-copy-schedule-dev-euc1-cluster-01"
#    "ingress.k8s.aws/resource" = "ManagedLBSecurityGroup"
#    "ingress.k8s.aws/stack"    = "stage-federation-rdx/federation-ingress-ext"
#  }
#  tags_all = {
#    Name                       = "federation-ingress-alb-ext"
#    "elbv2.k8s.aws/cluster"    = "sme-label-copy-schedule-dev-euc1-cluster-01"
#    "ingress.k8s.aws/resource" = "ManagedLBSecurityGroup"
#    "ingress.k8s.aws/stack"    = "stage-federation-rdx/federation-ingress-ext"
#  }
#  vpc_id = "vpc-0a688f309559be28f"
#}


resource "aws_security_group" "GRPS-D2-RDX-FED-EXT-SG" {
  description = "GRPS-D2-RDX-FED-EXT-SG"
  egress = [
    {
      cidr_blocks = [
        "0.0.0.0/0",
      ]
      description      = "HTTP"
      from_port        = 80
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 80
    },
    {
      cidr_blocks = [
        "0.0.0.0/0",
      ]
      description      = "HTTPS"
      from_port        = 443
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 443
    },
    {
      cidr_blocks = [
        "10.11.113.0/26",
        "10.11.119.0/25",
        "10.250.6.0/24",
        "10.11.177.64/26",
        "10.250.47.32/27",
        "10.251.12.0/22",
      ]
      description      = "VPC-CIDR"
      from_port        = 0
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 65535
    },
  ]
  ingress = [
    {
      cidr_blocks      = ["122.187.191.74/32", "122.186.213.222/32", "40.87.111.207/32", "115.112.65.139/32", "84.17.180.232/32", "52.142.13.64/32", "122.187.191.76/32", "115.112.65.140/32", "115.112.36.106/32"]
      description      = "Federation-RDX-SG"
      from_port        = 443
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 443
    },
    {
      cidr_blocks      = ["34.194.183.160/32", "50.19.193.133/32", "3.222.196.72/32", "52.3.165.126/32", "44.199.10.18/32"]
      description      = "Brazil NAT EIPs"
      from_port        = 443
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 443
    },
  ]
  name = "GRPS-D2-RDX-FED-EXT-SG"
  tags = {
    "Business-Unit" = "GRPS"
    "Environment"   = "Dev"
    "Owner"         = "Richard Mayer"
    "Project-Code"  = "2000-0497G"
    "Project-Name"  = "GRPS"
    CLOPS_FW        = "NO"
    "Patch Group"   = "General"
    Name            = "GRPS-D2-RDX-FED-EXT-SG"
  }
  tags_all = {
    "Business-Unit" = "GRPS"
    "Environment"   = "Dev"
    "Owner"         = "Richard Mayer"
    "Patch Group"   = "General"
    "Project-Code"  = "2000-0497G"
    "Project-Name"  = "GRPS"
    CLOPS_FW        = "NO"
    Name            = "GRPS-D2-RDX-FED-EXT-SG"
  }
  vpc_id = "vpc-0a688f309559be28f"

}

resource "aws_security_group" "grpsd2-rdx-vpclink-sg" {
  description = "GRPS-D2-RDX-VPCLINK-SG"
  name        = "GRPS-D2-RDX-VPCLINK-SG"
  egress = [
    {
      cidr_blocks      = ["0.0.0.0/0"]
      description      = "HTTPS to internal ALB"
      from_port        = 443
      ipv6_cidr_blocks = []
      prefix_list_ids  = []
      protocol         = "tcp"
      security_groups  = []
      self             = false
      to_port          = 443
    },
  ]
  ingress = []
  tags = {
    "Business-Unit" = "GRPS"
    "Environment"   = "Dev"
    "Name"          = "GRPS-D2-RDX-VPCLINK-SG"
    "Owner"         = "Richard Mayer"
    "Project-Code"  = "2000-0497G"
    "Project-Name"  = "GRPS"
    CLOPS_FW        = "NO"
  }
  vpc_id = "vpc-0a688f309559be28f"
}
