@@ -7,50 +7,54 @@ 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"
11- postgres_name = "example_rds_postgres"
12- parameter_group_name = "example-rds-postgres-pg"
13- identifier_prefix = "example-rds-"
14- username = "exampleUsername"
15- password = "examplePassword"
10+ source = "git::https://github.com/Datatamer/terraform-aws-rds-postgres.git?ref=0.3.0"
11+ postgres_name = "example_rds_postgres"
12+ parameter_group_name = "example-rds-postgres-pg"
13+ identifier_prefix = "example-rds-"
14+ username = "exampleUsername"
15+ password = "examplePassword"
1616
17- subnet_group_name = "example_subnet"
18- 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"
21- vpc_id = "vpc-examplevpcnetworkid"
17+ subnet_group_name = "example_subnet"
18+ 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"
21+ vpc_id = "vpc-examplevpcnetworkid"
2222}
2323```
24+ ## Minimal
25+ Smallest complete fully working example. This example might require extra resources to run the example.
26+ - [ Minimal] ( https://github.com/Datatamer/terraform-aws-rds-postgres/tree/master/examples/minimal )
2427
2528# Resources Created
2629This terraform module will create:
2730* an AWS RDS Postgres instance
28- * database parameter group
29- * A security group for the rds instance
31+ * a database parameter group
32+ * a security group for the rds instance
3033
3134<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
3235## Requirements
3336
3437| Name | Version |
3538| ------| ---------|
3639| terraform | >= 0.12 |
40+ | aws | >= 2.45.0 |
3741
3842## Providers
3943
4044| Name | Version |
4145| ------| ---------|
42- | aws | n/a |
46+ | aws | >= 2.45.0 |
4347
4448## Inputs
4549
4650| Name | Description | Type | Default | Required |
4751| ------| -------------| ------| ---------| :--------:|
4852| password | The postgres password | ` string ` | n/a | yes |
53+ | rds\_ subnet\_ ids | VPC subnet IDs in subnet group | ` list(string) ` | n/a | yes |
4954| spark\_ cluster\_ sg\_ ids | Security group is attached to the ec2 instances of EMR Spark | ` list(string) ` | n/a | yes |
55+ | subnet\_ group\_ name | The name of the subnet group to add the RDS instance to | ` string ` | n/a | yes |
5056| tamr\_ vm\_ sg\_ id | Security group id attached to the tamr vm | ` string ` | n/a | yes |
5157| vpc\_ id | VPC ID for the rds security group | ` string ` | n/a | yes |
52- | subnet\_ group\_ name | The name of the subnet group to add the RDS instance to | ` string ` | n/a | yes |
53- | rds\_ subnet\_ ids | List of subnet IDs to add to subnet group | ` list(string) ` | n/a | yes |
5458| additional\_ cidrs | Additional CIDR to connect to RDS Postgres instance | ` list(string) ` | ` [] ` | no |
5559| additional\_ tags | Additional tags to set on the RDS instance | ` map ` | ` {} ` | no |
5660| allocated\_ storage | Allocate storage | ` number ` | ` 20 ` | no |
@@ -90,6 +94,7 @@ This terraform module will create:
9094## Releasing new versions
9195* Updated version contained in ` VERSION `
9296* Documented changes in ` CHANGELOG.md `
97+ * Create a tag in github for the commit associated with the version
9398
9499# License
95100Apache 2 Licensed. See LICENSE for full details.
0 commit comments