Skip to content

Commit

Permalink
Enabled infrastructure encryption for azurerm_storage_account resourc…
Browse files Browse the repository at this point in the history
…es (#1258)
  • Loading branch information
basiliskus authored Aug 21, 2024
1 parent e142740 commit 288f32f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 16 deletions.
17 changes: 9 additions & 8 deletions operations/template/docs.tf
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
resource "azurerm_storage_account" "docs" {
name = "cdcti${var.environment}docs"
resource_group_name = data.azurerm_resource_group.group.name
location = data.azurerm_resource_group.group.location
account_tier = "Standard"
account_replication_type = "GRS"
account_kind = "StorageV2"
allow_nested_items_to_be_public = false
min_tls_version = "TLS1_2"
name = "cdcti${var.environment}docs"
resource_group_name = data.azurerm_resource_group.group.name
location = data.azurerm_resource_group.group.location
account_tier = "Standard"
account_replication_type = "GRS"
account_kind = "StorageV2"
allow_nested_items_to_be_public = false
min_tls_version = "TLS1_2"
infrastructure_encryption_enabled = true

static_website {
index_document = "index.html"
Expand Down
17 changes: 9 additions & 8 deletions operations/template/storage.tf
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
resource "azurerm_storage_account" "storage" {
name = "cdcti${var.environment}"
resource_group_name = data.azurerm_resource_group.group.name
location = data.azurerm_resource_group.group.location
account_tier = "Standard"
account_replication_type = "GRS"
account_kind = "StorageV2"
allow_nested_items_to_be_public = false
min_tls_version = "TLS1_2"
name = "cdcti${var.environment}"
resource_group_name = data.azurerm_resource_group.group.name
location = data.azurerm_resource_group.group.location
account_tier = "Standard"
account_replication_type = "GRS"
account_kind = "StorageV2"
allow_nested_items_to_be_public = false
min_tls_version = "TLS1_2"
infrastructure_encryption_enabled = true

# below tags are managed by CDC
lifecycle {
Expand Down

0 comments on commit 288f32f

Please sign in to comment.