@@ -7,7 +7,7 @@ This repo follows the [terraform standard module structure](https://www.terrafor
77Inline example implementation of the module. This is the most basic example of what it would look like to use this module.
88```
99module "rds_postgres" {
10- source = "git::https://github.com/Datatamer/terraform-aws-rds-postgres.git?ref=0.3 .0"
10+ source = "git::https://github.com/Datatamer/terraform-aws-rds-postgres.git?ref=0.4 .0"
1111 postgres_name = "example_rds_postgres"
1212 parameter_group_name = "example-rds-postgres-pg"
1313 identifier_prefix = "example-rds-"
@@ -16,8 +16,7 @@ module "rds_postgres" {
1616
1717 subnet_group_name = "example_subnet"
1818 rds_subnet_ids = ["example-subnet-1", "example-subnet-2"]
19- spark_cluster_sg_ids = ["sg-examplesecuritygroup1", "sg-examplesecuritygroup2"]
20- tamr_vm_sg_id = "sg-exampletamrsecuritygroup"
19+ ingress_sg_ids = ["sg-sparksecuritygroup1", "sg-sparksecuritygroup2", "sg-tamrvmsecuritygroup"]
2120 vpc_id = "vpc-examplevpcnetworkid"
2221}
2322```
@@ -50,11 +49,10 @@ This terraform module will create:
5049
5150| Name | Description | Type | Default | Required |
5251| ------| -------------| ------| ---------| :--------:|
52+ | ingress\_ sg\_ ids | List of security group IDs to allow ingress from (i.e. Spark cluster SG IDs, Tamr VM SG ID) | ` list(string) ` | n/a | yes |
5353| password | The password for the master DB user. | ` string ` | n/a | yes |
5454| rds\_ subnet\_ ids | VPC subnet IDs in subnet group | ` list(string) ` | n/a | yes |
55- | spark\_ cluster\_ sg\_ ids | List of Spark service access security group IDs to allow ingress from | ` list(string) ` | n/a | yes |
5655| subnet\_ group\_ name | The name of the subnet group to add the RDS instance to | ` string ` | n/a | yes |
57- | tamr\_ vm\_ sg\_ id | Tamr VM security group ID to allow ingress from | ` string ` | n/a | yes |
5856| vpc\_ id | VPC ID for the rds security group | ` string ` | n/a | yes |
5957| additional\_ cidrs | Additional CIDR to connect to RDS Postgres instance | ` list(string) ` | ` [] ` | no |
6058| additional\_ tags | Additional tags to set on the RDS instance | ` map ` | ` {} ` | no |
0 commit comments