remove test cluster for security group rules application

This commit is contained in:
marc
2020-11-18 22:43:32 +01:00
committed by marc
parent 9c1e2cad88
commit b3f19e3add
2 changed files with 0 additions and 3 deletions

View File

@@ -71,7 +71,6 @@ resource "aws_docdb_subnet_group" "documentdb" {
# Todo: create a bastion to avoid this
resource "aws_security_group_rule" "documentdb_remote_access" {
count = var.test_cluster == "false" ? 1 : 0
cidr_blocks = ["0.0.0.0/0"]
description = "Allow DocumentDB incoming access from anywhere"
from_port = 27017

View File

@@ -98,7 +98,6 @@ resource "aws_iam_role_policy_attachment" "rds_enhanced_monitoring" {
# Todo: create a bastion to avoid this
resource "aws_security_group_rule" "postgres_remote_access" {
count = var.test_cluster == "false" ? 1 : 0
cidr_blocks = ["0.0.0.0/0"]
description = "Allow RDS PostgreSQL incoming access from anywhere"
from_port = 5432
@@ -109,7 +108,6 @@ resource "aws_security_group_rule" "postgres_remote_access" {
}
resource "aws_security_group_rule" "mysql_remote_access" {
count = var.test_cluster == "false" ? 1 : 0
cidr_blocks = ["0.0.0.0/0"]
description = "Allow RDS MySQL incoming access from anywhere"
from_port = 3306