Skip to content

Commit

Permalink
change default name
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Apr 22, 2021
1 parent 80f3e2e commit 00e31f7
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
8 changes: 5 additions & 3 deletions rds-postgres/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 = { }
}
```
Expand Down Expand Up @@ -52,7 +54,7 @@ No modules.
| <a name="input_enable_self"></a> [enable\_self](#input\_enable\_self) | Enable\|Disable self full access | `bool` | `false` | no |
| <a name="input_ingress_networks"></a> [ingress\_networks](#input\_ingress\_networks) | List of ingress networks for external access (not all ports) | `list(string)` | <pre>[<br> "0.0.0.0/0"<br>]</pre> | no |
| <a name="input_ingress_security_groups"></a> [ingress\_security\_groups](#input\_ingress\_security\_groups) | List of ingress security groups for all ports | `list(string)` | `[]` | no |
| <a name="input_name"></a> [name](#input\_name) | Security Group Name | `string` | `"rds-postgres"` | no |
| <a name="input_name"></a> [name](#input\_name) | Security Group Name | `string` | `"m-postgres-db"` | no |
| <a name="input_short_description"></a> [short\_description](#input\_short\_description) | Security Group Short Description | `string` | `"PostgreSQL"` | no |
| <a name="input_tags"></a> [tags](#input\_tags) | Extra security group tags | `map` | <pre>{<br> "CostAllocation": "csvd:infrastructure",<br> "Environment": "csvd-infrastructure"<br>}</pre> | no |
| <a name="input_use_vpc_cidr"></a> [use\_vpc\_cidr](#input\_use\_vpc\_cidr) | Enable\|Disable use of VPC CIDR block in the ingress\_networks | `bool` | `false` | no |
Expand Down
6 changes: 4 additions & 2 deletions rds-postgres/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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 = { }
* }
* ```
Expand Down
2 changes: 1 addition & 1 deletion rds-postgres/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
variable "name" {
description = "Security Group Name"
type = string
default = "rds-postgres"
default = "m-postgres-db"
}

variable "description" {
Expand Down

0 comments on commit 00e31f7

Please sign in to comment.