Skip to content
This repository has been archived by the owner on Oct 20, 2023. It is now read-only.

Commit

Permalink
Add Cloud SQL DB User and Password as outputs (#407)
Browse files Browse the repository at this point in the history
* Add the CloudSQL user and password as outputs of the root module. Mark the password output as sensitive. The Forseti end-to-end tests need the password in order to connect to the database.

* Aligning the = signs
  • Loading branch information
gkowalski-google authored and kevensen committed Dec 9, 2019
1 parent a7a6c2c commit 886b6ed
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions modules/cloudsql/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,5 @@ output "forseti-cloudsql-user" {
output "forseti-cloudsql-password" {
description = "CloudSQL password"
value = local.cloudsql_password
sensitive = true
}
11 changes: 11 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,17 @@ output "forseti-cloudsql-connection-name" {
value = module.cloudsql.forseti-cloudsql-connection-name
}

output "forseti-cloudsql-password" {
description = "CloudSQL password"
value = module.cloudsql.forseti-cloudsql-password
sensitive = true
}

output "forseti-cloudsql-user" {
description = "CloudSQL user"
value = module.cloudsql.forseti-cloudsql-user
}

output "forseti-server-git-public-key-openssh" {
description = "The public OpenSSH key generated to allow the Forseti Server to clone the policy library repository."
value = module.server.forseti-server-git-public-key-openssh
Expand Down

0 comments on commit 886b6ed

Please sign in to comment.