Skip to content

Commit

Permalink
Merge pull request #444 from recognizegroup/feature/22884-storage-acc…
Browse files Browse the repository at this point in the history
…ount-sftp-parameter

Adding property to enable/disable sftp on storage account AB#22884
  • Loading branch information
tom-reinders authored Feb 7, 2025
2 parents e5881ee + 83293e7 commit 9eb0cff
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions modules/azure/storage_account_public/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ resource "azurerm_storage_account" "storage_account" {
min_tls_version = var.min_tls_version
nfsv3_enabled = var.nfsv3_enabled
is_hns_enabled = var.is_hns_enabled
sftp_enabled = var.sftp_enabled

blob_properties {
dynamic "cors_rule" {
Expand Down
5 changes: 5 additions & 0 deletions modules/azure/storage_account_public/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -143,4 +143,9 @@ variable "loganalytics_diagnostic_setting" {
description = "Specifies the log categories that have to be sent to Log analytics."
default = null
}
variable "sftp_enabled" {
type = bool
description = "Enable or disable SFTP access for the storage account."
default = false
}

0 comments on commit 9eb0cff

Please sign in to comment.