diff --git a/rds-postgres/README.md b/rds-postgres/README.md index db3f8c0..9cc7a1d 100644 --- a/rds-postgres/README.md +++ b/rds-postgres/README.md @@ -10,9 +10,11 @@ Default and auxilliary ports are included in this. They are opened to everything module "postgres" { source = "git@github.e.it.census.gov:terraform-modules/aws-common-security-groups.git//rds-postgres" - # name = "rds-postgres" vpc_id = var.vpc_id - # Name, CostAllocation, and Environment are pre-set, but they can be overriden + ## optional + # name = "m-postgres-db" + + ## tags for Name, CostAllocation, and Environment are pre-set, but they can be overriden # tags = { } } ``` @@ -52,7 +54,7 @@ No modules. | [enable\_self](#input\_enable\_self) | Enable\|Disable self full access | `bool` | `false` | no | | [ingress\_networks](#input\_ingress\_networks) | List of ingress networks for external access (not all ports) | `list(string)` |
[| no | | [ingress\_security\_groups](#input\_ingress\_security\_groups) | List of ingress security groups for all ports | `list(string)` | `[]` | no | -| [name](#input\_name) | Security Group Name | `string` | `"rds-postgres"` | no | +| [name](#input\_name) | Security Group Name | `string` | `"m-postgres-db"` | no | | [short\_description](#input\_short\_description) | Security Group Short Description | `string` | `"PostgreSQL"` | no | | [tags](#input\_tags) | Extra security group tags | `map` |
"0.0.0.0/0"
]
{
"CostAllocation": "csvd:infrastructure",
"Environment": "csvd-infrastructure"
} | no |
| [use\_vpc\_cidr](#input\_use\_vpc\_cidr) | Enable\|Disable use of VPC CIDR block in the ingress\_networks | `bool` | `false` | no |
diff --git a/rds-postgres/main.tf b/rds-postgres/main.tf
index ff82f12..0e1cf60 100644
--- a/rds-postgres/main.tf
+++ b/rds-postgres/main.tf
@@ -11,9 +11,11 @@
* module "postgres" {
* source = "git@github.e.it.census.gov:terraform-modules/aws-common-security-groups.git//rds-postgres"
*
-* # name = "rds-postgres"
* vpc_id = var.vpc_id
-* # Name, CostAllocation, and Environment are pre-set, but they can be overriden
+* ## optional
+* # name = "m-postgres-db"
+*
+* ## tags for Name, CostAllocation, and Environment are pre-set, but they can be overriden
* # tags = { }
* }
* ```
diff --git a/rds-postgres/variables.tf b/rds-postgres/variables.tf
index a28c2af..e216ce3 100644
--- a/rds-postgres/variables.tf
+++ b/rds-postgres/variables.tf
@@ -4,7 +4,7 @@
variable "name" {
description = "Security Group Name"
type = string
- default = "rds-postgres"
+ default = "m-postgres-db"
}
variable "description" {