Skip to content

Instantly share code, notes, and snippets.

@BrendanThompson
Created September 8, 2021 00:48
Show Gist options
  • Save BrendanThompson/02bec3f129a3d2e59092a3ce1269d85d to your computer and use it in GitHub Desktop.
Save BrendanThompson/02bec3f129a3d2e59092a3ce1269d85d to your computer and use it in GitHub Desktop.
output "azure_details" {
sensitive = true
value = {
tenant_id = data.azurerm_client_config.current.tenant_id
client_id = azuread_application.this.application_id
client_secret = azurerm_key_vault_secret.service_principal.value
}
}
output "storage_account" {
sensitive = true
value = {
name = azurerm_storage_account.this.name
container_name = azurerm_storage_data_lake_gen2_filesystem.this.name
access_key = azurerm_storage_account.this.primary_access_key
}
}
output "synapse" {
sensitive = true
value = {
database = azurerm_synapse_sql_pool.this.name
host = azurerm_synapse_workspace.this.connectivity_endpoints
user = azurerm_synapse_workspace.this.sql_administrator_login
password = azurerm_synapse_workspace.this.sql_administrator_login_password
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment