Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modified output #2

Merged
merged 3 commits into from
Mar 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 13 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,20 +70,21 @@ No modules.

| Name | Description |
|------|-------------|
| <a name="output_truefoundry_blob_connection_string"></a> [truefoundry\_blob\_connection\_string](#output\_truefoundry\_blob\_connection\_string) | n/a |
| <a name="output_truefoundry_blob_container_id"></a> [truefoundry\_blob\_container\_id](#output\_truefoundry\_blob\_container\_id) | n/a |
| <a name="output_truefoundry_blob_storage_account_id"></a> [truefoundry\_blob\_storage\_account\_id](#output\_truefoundry\_blob\_storage\_account\_id) | n/a |
| <a name="output_truefoundry_blob_storage_account_primary_blob_host"></a> [truefoundry\_blob\_storage\_account\_primary\_blob\_host](#output\_truefoundry\_blob\_storage\_account\_primary\_blob\_host) | n/a |
| <a name="output_truefoundry_blob_storage_account_primary_connection_string"></a> [truefoundry\_blob\_storage\_account\_primary\_connection\_string](#output\_truefoundry\_blob\_storage\_account\_primary\_connection\_string) | n/a |
| <a name="output_truefoundry_blob_storage_account_primary_location"></a> [truefoundry\_blob\_storage\_account\_primary\_location](#output\_truefoundry\_blob\_storage\_account\_primary\_location) | n/a |
| <a name="output_truefoundry_blob_storage_account_primary_web_host"></a> [truefoundry\_blob\_storage\_account\_primary\_web\_host](#output\_truefoundry\_blob\_storage\_account\_primary\_web\_host) | n/a |
| <a name="output_truefoundry_cloud_integrations_azuread_application_id"></a> [truefoundry\_cloud\_integrations\_azuread\_application\_id](#output\_truefoundry\_cloud\_integrations\_azuread\_application\_id) | n/a |
| <a name="output_truefoundry_blob_container_id"></a> [truefoundry\_blob\_container\_id](#output\_truefoundry\_blob\_container\_id) | Storage account container ID |
| <a name="output_truefoundry_blob_storage_account_id"></a> [truefoundry\_blob\_storage\_account\_id](#output\_truefoundry\_blob\_storage\_account\_id) | Storage account id |
| <a name="output_truefoundry_blob_storage_account_primary_blob_host"></a> [truefoundry\_blob\_storage\_account\_primary\_blob\_host](#output\_truefoundry\_blob\_storage\_account\_primary\_blob\_host) | Storage account primary blob host |
| <a name="output_truefoundry_blob_storage_account_primary_connection_string"></a> [truefoundry\_blob\_storage\_account\_primary\_connection\_string](#output\_truefoundry\_blob\_storage\_account\_primary\_connection\_string) | Storage account primary connection string |
| <a name="output_truefoundry_blob_storage_account_primary_location"></a> [truefoundry\_blob\_storage\_account\_primary\_location](#output\_truefoundry\_blob\_storage\_account\_primary\_location) | Storage account primary location |
| <a name="output_truefoundry_blob_storage_account_primary_web_host"></a> [truefoundry\_blob\_storage\_account\_primary\_web\_host](#output\_truefoundry\_blob\_storage\_account\_primary\_web\_host) | Storage account primary web host url |
| <a name="output_truefoundry_blob_storage_root_url"></a> [truefoundry\_blob\_storage\_root\_url](#output\_truefoundry\_blob\_storage\_root\_url) | Storage account root URL for blob storage |
| <a name="output_truefoundry_cloud_integrations_azuread_application_client_id"></a> [truefoundry\_cloud\_integrations\_azuread\_application\_client\_id](#output\_truefoundry\_cloud\_integrations\_azuread\_application\_client\_id) | Azure AD application client ID |
| <a name="output_truefoundry_cloud_integrations_azuread_application_id"></a> [truefoundry\_cloud\_integrations\_azuread\_application\_id](#output\_truefoundry\_cloud\_integrations\_azuread\_application\_id) | Azure AD application ID |
| <a name="output_truefoundry_cloud_integrations_azuread_application_name"></a> [truefoundry\_cloud\_integrations\_azuread\_application\_name](#output\_truefoundry\_cloud\_integrations\_azuread\_application\_name) | n/a |
| <a name="output_truefoundry_cloud_integrations_service_principal_name"></a> [truefoundry\_cloud\_integrations\_service\_principal\_name](#output\_truefoundry\_cloud\_integrations\_service\_principal\_name) | n/a |
| <a name="output_truefoundry_cloud_integrations_service_principal_password"></a> [truefoundry\_cloud\_integrations\_service\_principal\_password](#output\_truefoundry\_cloud\_integrations\_service\_principal\_password) | n/a |
| <a name="output_truefoundry_cloud_integrations_service_principal_tenant_id"></a> [truefoundry\_cloud\_integrations\_service\_principal\_tenant\_id](#output\_truefoundry\_cloud\_integrations\_service\_principal\_tenant\_id) | n/a |
| <a name="output_truefoundry_container_registry_admin_password"></a> [truefoundry\_container\_registry\_admin\_password](#output\_truefoundry\_container\_registry\_admin\_password) | n/a |
| <a name="output_truefoundry_container_registry_admin_username"></a> [truefoundry\_container\_registry\_admin\_username](#output\_truefoundry\_container\_registry\_admin\_username) | n/a |
| <a name="output_truefoundry_container_registry_id"></a> [truefoundry\_container\_registry\_id](#output\_truefoundry\_container\_registry\_id) | n/a |
| <a name="output_truefoundry_container_registry_login_server"></a> [truefoundry\_container\_registry\_login\_server](#output\_truefoundry\_container\_registry\_login\_server) | n/a |
| <a name="output_truefoundry_container_registry_admin_password"></a> [truefoundry\_container\_registry\_admin\_password](#output\_truefoundry\_container\_registry\_admin\_password) | Container registry admin password |
| <a name="output_truefoundry_container_registry_admin_username"></a> [truefoundry\_container\_registry\_admin\_username](#output\_truefoundry\_container\_registry\_admin\_username) | Container registry admin username |
| <a name="output_truefoundry_container_registry_id"></a> [truefoundry\_container\_registry\_id](#output\_truefoundry\_container\_registry\_id) | Container registry ID |
| <a name="output_truefoundry_container_registry_login_server"></a> [truefoundry\_container\_registry\_login\_server](#output\_truefoundry\_container\_registry\_login\_server) | Container registry login server url |
<!-- END_TF_DOCS -->
47 changes: 32 additions & 15 deletions output.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,61 +3,78 @@
##################################################################################

output "truefoundry_blob_storage_account_id" {
value = var.feature_blob_storage_enabled ? azurerm_storage_account.truefoundry_platform_storage_account[0].id : ""
value = var.feature_blob_storage_enabled ? azurerm_storage_account.truefoundry_platform_storage_account[0].id : ""
description = "Storage account id"
}

output "truefoundry_blob_storage_account_primary_location" {
value = var.feature_blob_storage_enabled ? azurerm_storage_account.truefoundry_platform_storage_account[0].primary_location : ""
value = var.feature_blob_storage_enabled ? azurerm_storage_account.truefoundry_platform_storage_account[0].primary_location : ""
description = "Storage account primary location"
}

output "truefoundry_blob_storage_account_primary_blob_host" {
value = var.feature_blob_storage_enabled ? azurerm_storage_account.truefoundry_platform_storage_account[0].primary_blob_host : ""
value = var.feature_blob_storage_enabled ? azurerm_storage_account.truefoundry_platform_storage_account[0].primary_blob_host : ""
description = "Storage account primary blob host"
}

output "truefoundry_blob_storage_account_primary_web_host" {
value = var.feature_blob_storage_enabled ? azurerm_storage_account.truefoundry_platform_storage_account[0].primary_web_host : ""
value = var.feature_blob_storage_enabled ? azurerm_storage_account.truefoundry_platform_storage_account[0].primary_web_host : ""
description = "Storage account primary web host url"
}

output "truefoundry_blob_storage_account_primary_connection_string" {
value = var.feature_blob_storage_enabled ? azurerm_storage_account.truefoundry_platform_storage_account[0].primary_connection_string : ""
sensitive = true
value = var.feature_blob_storage_enabled ? azurerm_storage_account.truefoundry_platform_storage_account[0].primary_connection_string : ""
sensitive = true
description = "Storage account primary connection string"
}

output "truefoundry_blob_container_id" {
value = var.feature_blob_storage_enabled ? azurerm_storage_container.truefoundry_platform_container[0].id : ""
value = var.feature_blob_storage_enabled ? azurerm_storage_container.truefoundry_platform_container[0].id : ""
description = "Storage account container ID"
}

output "truefoundry_blob_connection_string" {
value = var.feature_blob_storage_enabled ? "https://${local.storage_account_name}.blob.core.windows.net/${local.container_name}/" : ""
output "truefoundry_blob_storage_root_url" {
value = var.feature_blob_storage_enabled ? "https://${local.storage_account_name}.blob.core.windows.net/${local.container_name}/" : ""
description = "Storage account root URL for blob storage"
}

##################################################################################
## Container registry
##################################################################################

output "truefoundry_container_registry_id" {
value = var.feature_container_registry_enabled ? azurerm_container_registry.truefoundry_container_registry[0].id : ""
value = var.feature_container_registry_enabled ? azurerm_container_registry.truefoundry_container_registry[0].id : ""
description = "Container registry ID"
}

output "truefoundry_container_registry_login_server" {
value = var.feature_container_registry_enabled ? azurerm_container_registry.truefoundry_container_registry[0].login_server : ""
value = var.feature_container_registry_enabled ? azurerm_container_registry.truefoundry_container_registry[0].login_server : ""
description = "Container registry login server url"
}

output "truefoundry_container_registry_admin_username" {
value = var.feature_container_registry_enabled ? azurerm_container_registry.truefoundry_container_registry[0].admin_username : ""
value = var.feature_container_registry_enabled ? azurerm_container_registry.truefoundry_container_registry[0].admin_username : ""
description = "Container registry admin username"
}

output "truefoundry_container_registry_admin_password" {
value = var.feature_container_registry_enabled ? azurerm_container_registry.truefoundry_container_registry[0].admin_password : ""
sensitive = true
value = var.feature_container_registry_enabled ? azurerm_container_registry.truefoundry_container_registry[0].admin_password : ""
sensitive = true
description = "Container registry admin password"
}

##################################################################################
## Cloud Integrations
##################################################################################

output "truefoundry_cloud_integrations_azuread_application_id" {
value = var.feature_cloud_integration_enabled ? azuread_application.truefoundry_platform_features_application[0].id : ""
value = var.feature_cloud_integration_enabled ? azuread_application.truefoundry_platform_features_application[0].id : ""
description = "Azure AD application ID"
}

output "truefoundry_cloud_integrations_azuread_application_client_id" {
value = var.feature_cloud_integration_enabled ? azuread_application.truefoundry_platform_features_application[0].client_id : ""
description = "Azure AD application client ID"
}

output "truefoundry_cloud_integrations_service_principal_name" {
Expand Down
Loading