From 2c0a14064a884fc773ff81cbffd10f749d2e9366 Mon Sep 17 00:00:00 2001 From: badra001 Date: Fri, 28 May 2021 07:47:40 -0400 Subject: [PATCH] change port to default 3306 --- rds-mysql/README.md | 2 +- rds-mysql/main.tf | 2 +- rds-mysql/ports.tf | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/rds-mysql/README.md b/rds-mysql/README.md index 80b54bd..4439a8d 100644 --- a/rds-mysql/README.md +++ b/rds-mysql/README.md @@ -48,7 +48,7 @@ No modules. | Name | Description | Type | Default | Required | |------|-------------|------|---------|:--------:| -| [description](#input\_description) | Security Group Description | `string` | `"RDS MySQL Security Group"` | no | +| [description](#input\_description) | Security Group Description | `string` | `"MySQL Security Group"` | no | | [egress\_networks](#input\_egress\_networks) | List of egress networks (all ports) | `list(string)` |
[
"0.0.0.0/0"
]
| no | | [egress\_security\_groups](#input\_egress\_security\_groups) | List of egress security groups (all ports) | `list(string)` | `[]` | no | | [enable\_self](#input\_enable\_self) | Enable\|Disable self full access | `bool` | `false` | no | diff --git a/rds-mysql/main.tf b/rds-mysql/main.tf index df214b3..6204dc4 100644 --- a/rds-mysql/main.tf +++ b/rds-mysql/main.tf @@ -1,4 +1,4 @@ -/** +/* * # About rds-mysql * * This describes how to use the aws-common-security-groups submodule for rds-mysql. diff --git a/rds-mysql/ports.tf b/rds-mysql/ports.tf index b7e21a7..7fc84c3 100644 --- a/rds-mysql/ports.tf +++ b/rds-mysql/ports.tf @@ -7,14 +7,14 @@ # list of: all, external (more added as needed) locals { - description = "module: PostgreSQL common ports" + description = "module: MySQL common ports" n_all = ["0.0.0.0/0"] n_census = ["148.129.0.0/16", "192.168.0.0/16", "172.16.0.0/12", "10.0.0.0/8"] source_groups = ["all", "external"] name = var.name ports = [ - [3356, 3356, "tcp", "mysql-db", local.n_census, ["external"]], + [3306, 3306, "tcp", "mysql-db", local.n_census, ["external"]], ] # these are ignored