Skip to content

Commit ce4bf06

Browse files
authored
Merge pull request #12 from Datatamer/DEV-14396
DEV-14396 Adds outputs for pg database name and db username.
2 parents fda8e55 + 7ea397c commit ce4bf06

File tree

4 files changed

+14
-1
lines changed

4 files changed

+14
-1
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Tamr Terraform Template Repo
22

3+
## v0.3.1 - Sep 10th 2020
4+
* Adds outputs, `rds_username` and `rds_dbname`
5+
36
## v0.3.0 - Sep 10th 2020
47
* Adds creation of aws_db_subnet_group resource
58
* Adds variable rds_subnet_ids to specify subnet IDs in subnet group

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,12 @@ This terraform module will create:
8080

8181
| Name | Description |
8282
|------|-------------|
83+
| rds\_dbname | n/a |
8384
| rds\_hostname | n/a |
8485
| rds\_postgres\_id | ID of the of the RDS instance |
8586
| rds\_postgres\_pg\_id | ID of the RDS postgres parameter group |
8687
| rds\_sg\_id | ID of the security group attached to the rds instance |
88+
| rds\_username | n/a |
8789

8890
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
8991

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.3.0
1+
0.3.1

outputs.tf

+8
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,11 @@ output "rds_sg_id" {
1616
output "rds_hostname" {
1717
value = aws_db_instance.rds_postgres.address
1818
}
19+
20+
output "rds_username" {
21+
value = aws_db_instance.rds_postgres.username
22+
}
23+
24+
output "rds_dbname" {
25+
value = aws_db_instance.rds_postgres.name
26+
}

0 commit comments

Comments
 (0)