Skip to content

Commit

Permalink
change port to default 3306
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed May 28, 2021
1 parent 48ea19d commit 2c0a140
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion rds-mysql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ No modules.

| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| <a name="input_description"></a> [description](#input\_description) | Security Group Description | `string` | `"RDS MySQL Security Group"` | no |
| <a name="input_description"></a> [description](#input\_description) | Security Group Description | `string` | `"MySQL Security Group"` | no |
| <a name="input_egress_networks"></a> [egress\_networks](#input\_egress\_networks) | List of egress networks (all ports) | `list(string)` | <pre>[<br> "0.0.0.0/0"<br>]</pre> | no |
| <a name="input_egress_security_groups"></a> [egress\_security\_groups](#input\_egress\_security\_groups) | List of egress security groups (all ports) | `list(string)` | `[]` | no |
| <a name="input_enable_self"></a> [enable\_self](#input\_enable\_self) | Enable\|Disable self full access | `bool` | `false` | no |
Expand Down
2 changes: 1 addition & 1 deletion rds-mysql/main.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/**
/*
* # About rds-mysql
*
* This describes how to use the aws-common-security-groups submodule for rds-mysql.
Expand Down
4 changes: 2 additions & 2 deletions rds-mysql/ports.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2c0a140

Please sign in to comment.