Skip to content

Commit

Permalink
Storage Entra ID access (#117)
Browse files Browse the repository at this point in the history
* Update dependencies

* Configure Entra ID auth where possible
  • Loading branch information
geekzter authored Jun 7, 2024
1 parent 334dbc5 commit 109a80a
Show file tree
Hide file tree
Showing 3 changed files with 99 additions and 93 deletions.
184 changes: 92 additions & 92 deletions terraform/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions terraform/storage.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ resource azurerm_storage_account diagnostics {
account_tier = "Standard"
account_replication_type = "LRS"
allow_nested_items_to_be_public = false
default_to_oauth_authentication = true
enable_https_traffic_only = true
shared_access_key_enabled = true

tags = local.tags
}
Expand Down Expand Up @@ -90,7 +92,9 @@ resource azurerm_storage_account automation_storage {
account_tier = "Standard"
account_replication_type = "LRS"
allow_nested_items_to_be_public = false
default_to_oauth_authentication = true
enable_https_traffic_only = true
shared_access_key_enabled = false

tags = local.tags
}
Expand Down Expand Up @@ -173,7 +177,9 @@ resource azurerm_storage_account share {
account_kind = "FileStorage"
account_tier = "Premium"
account_replication_type = "LRS"
default_to_oauth_authentication = true
enable_https_traffic_only = false # Needs to be off for NFS
shared_access_key_enabled = true # Azire Files Share does not support Entra ID AuthN yet

tags = local.tags

Expand Down

0 comments on commit 109a80a

Please sign in to comment.