Skip to content

Commit 3e1b7eb

Browse files
committed
added outputs for the cloned db username/password
1 parent cdd1e2e commit 3e1b7eb

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

integration/postgres.test-main.tf

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,17 @@ variable in_id_of_db_to_clone {
3232
}
3333

3434
output out_fresh_database_hostname { value = module.fresh_db.out_fresh_db_hostname }
35-
output out_fresh_database_hostport { value = module.fresh_db.out_fresh_db_hostport }
35+
output out_fresh_database_endpoint { value = module.fresh_db.out_fresh_db_endpoint }
3636

3737
output out_clone_database_hostname { value = module.clone_db.out_clone_db_hostname }
38-
output out_clone_database_hostport { value = module.clone_db.out_clone_db_hostport }
38+
output out_clone_database_endpoint { value = module.clone_db.out_clone_db_endpoint }
3939

4040
output out_fresh_database_username { value = module.fresh_db.out_database_username }
4141
output out_fresh_database_password { value = module.fresh_db.out_database_password }
4242

43+
output out_clone_database_username { value = module.clone_db.out_database_username }
44+
output out_clone_database_password { value = module.clone_db.out_database_password }
45+
4346

4447
module fresh_db {
4548

@@ -104,9 +107,3 @@ module resource-tags {
104107
source = "github.com/devops4me/terraform-aws-resource-tags"
105108

106109
}
107-
108-
/*
109-
variable in_id_of_db_to_clone {
110-
description = "The name of the mummy snapshot that gives birth to this (cloned) database instance."
111-
}
112-
*/

0 commit comments

Comments
 (0)