Skip to content
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
2 changes: 2 additions & 0 deletions modules/azure/storage_account_public/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ resource "azurerm_storage_account" "storage_account" {
shared_access_key_enabled = var.shared_access_key_enabled

blob_properties {
change_feed_enabled = var.change_feed_enabled

dynamic "cors_rule" {
for_each = var.cors_rules

Expand Down
6 changes: 6 additions & 0 deletions modules/azure/storage_account_public/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,12 @@ variable "delete_retention_policy_days" {
default = null
}

variable "change_feed_enabled" {
type = bool
description = "Enable or disable the blob service change feed. Azure keeps the change feed on for as long as an object replication policy uses this account as its source and rejects an update that turns it off, so such an account has to set this to true."
default = false
}

variable "loganalytics_diagnostic_setting" {
type = object({
workspace_id = string, // log analytics workspace ID
Expand Down
Loading