mirror of
https://github.com/jlengrand/engine.git
synced 2026-03-10 08:11:21 +00:00
remove test cluster for security group rules application
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user