Skip to content

Commit

Permalink
Adding fqdn for db outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnaud Lheureux committed Apr 8, 2021
1 parent 893292b commit 8618993
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/databases/mariadb_server/output.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ output "id" {
value = azurerm_mariadb_server.mariadb.id
}

output "fqdn" {
value = azurerm_mariadb_server.mariadb.fqdn
}

output "name" {
value = azurecaf_name.mariadb.result
}
Expand Down
4 changes: 4 additions & 0 deletions modules/databases/mssql_server/output.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ output "id" {
value = azurerm_mssql_server.mssql.id
}

output "fully_qualified_domain_name" {
value = azurerm_mssql_server.mssql.fully_qualified_domain_name
}

output "rbac_id" {
value = try(azurerm_mssql_server.mssql.identity[0].principal_id, null)
}
Expand Down
4 changes: 4 additions & 0 deletions modules/databases/mysql_server/output.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ output "id" {
value = azurerm_mysql_server.mysql.id
}

output "fqdn" {
value = azurerm_mysql_server.mysql.fqdn
}

output "rbac_id" {
value = try(azurerm_mysql_server.mysql.identity[0].principal_id, null)
}
Expand Down
4 changes: 4 additions & 0 deletions modules/databases/postgresql_server/output.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ output "id" {
value = azurerm_postgresql_server.postgresql.id
}

output "fqdn" {
value = azurerm_postgresql_server.postgresql.fqdn
}

output "rbac_id" {
value = try(azurerm_postgresql_server.postgresql.identity[0].principal_id, null)
}
Expand Down

0 comments on commit 8618993

Please sign in to comment.