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
29 changes: 29 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Basic .gitattributes for a python repo.

# Source files
# ============
*.pxd text diff=python
*.py text diff=python
*.py3 text diff=python
*.pyw text diff=python
*.pyx text diff=python
*.pyz text diff=python
*.pyi text diff=python

# Binary files
# ============
*.db binary
*.p binary
*.pkl binary
*.pickle binary
*.pyc binary export-ignore
*.pyo binary export-ignore
*.pyd binary

# Jupyter notebook
*.ipynb text eol=lf

# Note: .db, .p, and .pkl files are associated
# with the python modules ``pickle``, ``dbm.*``,
# ``shelve``, ``marshal``, ``anydbm``, & ``bsddb``
# (among others).
File renamed without changes.
27 changes: 0 additions & 27 deletions code/infra/storage.tf
Original file line number Diff line number Diff line change
Expand Up @@ -52,33 +52,6 @@ resource "azurerm_storage_account" "storage" {
shared_access_key_enabled = false # Required to be set to 'true' when creating a Windows host
}

# resource "azurerm_storage_management_policy" "storage_management_policy" {
# storage_account_id = azurerm_storage_account.storage.id

# rule {
# name = "default"
# enabled = true
# actions {
# base_blob {
# tier_to_cool_after_days_since_modification_greater_than = 360
# # delete_after_days_since_modification_greater_than = 720
# }
# snapshot {
# change_tier_to_cool_after_days_since_creation = 180
# delete_after_days_since_creation_greater_than = 360
# }
# version {
# change_tier_to_cool_after_days_since_creation = 180
# delete_after_days_since_creation = 360
# }
# }
# filters {
# blob_types = ["blockBlob"]
# prefix_match = []
# }
# }
# }

data "azurerm_monitor_diagnostic_categories" "diagnostic_categories_storage" {
resource_id = azurerm_storage_account.storage.id
}
Expand Down