Skip to content

Commit

Permalink
No public storage accounts (#2524)
Browse files Browse the repository at this point in the history
* no public storage accounts

* update changelog

* core version
  • Loading branch information
tamirkamara authored Aug 29, 2022
1 parent d6c3dec commit b750e32
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 13 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ FEATURES:
ENHANCEMENTS:

* Adding Log Analytics & Antimalware VM extensions ([#2520](https://github.com/microsoft/AzureTRE/pull/2520))
* Block anonymous access to 2 storage accounts ([#2524](https://github.com/microsoft/AzureTRE/pull/2524))
* Gitea shared service support app-service standard SKUs ([#2523](https://github.com/microsoft/AzureTRE/pull/2523))
* Keyvault diagnostic settings in base workspace ([#2521](https://github.com/microsoft/AzureTRE/pull/2521))

Expand Down
13 changes: 7 additions & 6 deletions templates/core/terraform/airlock/airlock_processor.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,13 @@ resource "azurerm_service_plan" "airlock_plan" {
}

resource "azurerm_storage_account" "sa_airlock_processor_func_app" {
name = local.airlock_function_sa_name
resource_group_name = var.resource_group_name
location = var.location
account_tier = "Standard"
account_replication_type = "LRS"
tags = var.tre_core_tags
name = local.airlock_function_sa_name
resource_group_name = var.resource_group_name
location = var.location
account_tier = "Standard"
account_replication_type = "LRS"
allow_nested_items_to_be_public = false
tags = var.tre_core_tags

lifecycle { ignore_changes = [tags] }
}
Expand Down
13 changes: 7 additions & 6 deletions templates/core/terraform/storage.tf
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
resource "azurerm_storage_account" "stg" {
name = lower(replace("stg-${var.tre_id}", "-", ""))
resource_group_name = azurerm_resource_group.core.name
location = azurerm_resource_group.core.location
account_tier = "Standard"
account_replication_type = "LRS"
tags = local.tre_core_tags
name = lower(replace("stg-${var.tre_id}", "-", ""))
resource_group_name = azurerm_resource_group.core.name
location = azurerm_resource_group.core.location
account_tier = "Standard"
account_replication_type = "LRS"
allow_nested_items_to_be_public = false
tags = local.tre_core_tags
lifecycle { ignore_changes = [tags] }
}

Expand Down
2 changes: 1 addition & 1 deletion templates/core/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.4.20"
__version__ = "0.4.21"

0 comments on commit b750e32

Please sign in to comment.