forked from microsoft/AzureTRE
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Convert data inputs into variable inputs for modules in Terra…
…form (microsoft#1154)" This reverts commit c3e2cb7.
- Loading branch information
1 parent
4f614c0
commit a5c600c
Showing
13 changed files
with
106 additions
and
157 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
output "api_fqdn" { | ||
value = azurerm_app_service.api.default_site_hostname | ||
} | ||
|
||
output "core_app_service_plan_id" { | ||
value = azurerm_app_service_plan.core.id | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,44 @@ | ||
data "azurerm_log_analytics_workspace" "tre" { | ||
name = "log-${var.tre_id}" | ||
resource_group_name = local.core_resource_group_name | ||
} | ||
|
||
data "azurerm_app_service_plan" "core" { | ||
name = "plan-${var.tre_id}" | ||
resource_group_name = local.core_resource_group_name | ||
} | ||
|
||
data "azurerm_application_insights" "core" { | ||
name = "appi-${var.tre_id}" | ||
resource_group_name = local.core_resource_group_name | ||
} | ||
|
||
data "azurerm_virtual_network" "core" { | ||
name = local.core_vnet | ||
resource_group_name = local.core_resource_group_name | ||
} | ||
|
||
data "azurerm_subnet" "web_app" { | ||
resource_group_name = local.core_resource_group_name | ||
virtual_network_name = local.core_vnet | ||
name = "WebAppSubnet" | ||
} | ||
|
||
data "azurerm_firewall" "fw" { | ||
name = "fw-${var.tre_id}" | ||
resource_group_name = local.core_resource_group_name | ||
} | ||
|
||
data "azurerm_private_dns_zone" "mysql" { | ||
name = "privatelink.mysql.database.azure.com" | ||
resource_group_name = local.core_resource_group_name | ||
} | ||
|
||
data "azurerm_storage_account" "gitea" { | ||
name = var.storage_account_name | ||
resource_group_name = local.core_resource_group_name | ||
} | ||
|
||
data "local_file" "version" { | ||
filename = "${path.module}/../version.txt" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
templates/shared_services/sonatype-nexus/terraform/data.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
data "azurerm_log_analytics_workspace" "tre" { | ||
name = "log-${var.tre_id}" | ||
resource_group_name = local.core_resource_group_name | ||
} | ||
|
||
data "azurerm_app_service_plan" "core" { | ||
name = "plan-${var.tre_id}" | ||
resource_group_name = local.core_resource_group_name | ||
} | ||
|
||
data "azurerm_application_insights" "core" { | ||
name = "appi-${var.tre_id}" | ||
resource_group_name = local.core_resource_group_name | ||
} | ||
|
||
data "azurerm_virtual_network" "core" { | ||
name = local.core_vnet | ||
resource_group_name = local.core_resource_group_name | ||
} | ||
|
||
data "azurerm_storage_account" "nexus" { | ||
name = var.storage_account_name | ||
resource_group_name = local.core_resource_group_name | ||
} | ||
|
||
data "azurerm_subnet" "web_app" { | ||
name = "WebAppSubnet" | ||
virtual_network_name = "vnet-${var.tre_id}" | ||
resource_group_name = local.core_resource_group_name | ||
} | ||
|
||
data "azurerm_firewall" "fw" { | ||
name = "fw-${var.tre_id}" | ||
resource_group_name = local.core_resource_group_name | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.