From e879249b41b328a0ebf1a9215f2b43d9dd2bb99b Mon Sep 17 00:00:00 2001 From: Andrea Grillo Date: Thu, 8 Aug 2024 11:17:43 +0200 Subject: [PATCH] [EC-393] Import iopstcosmosbonusbackup in Terraform (#1124) --- .../storage_account_cosmos_backup.tf | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/domains/cgn/_modules/storage_accounts/storage_account_cosmos_backup.tf diff --git a/src/domains/cgn/_modules/storage_accounts/storage_account_cosmos_backup.tf b/src/domains/cgn/_modules/storage_accounts/storage_account_cosmos_backup.tf new file mode 100644 index 000000000..0a4fe2616 --- /dev/null +++ b/src/domains/cgn/_modules/storage_accounts/storage_account_cosmos_backup.tf @@ -0,0 +1,21 @@ +module "storage_account_cosmos_backup" { + source = "github.com/pagopa/terraform-azurerm-v3//storage_account?ref=v8.36.1" + + name = "${replace(var.project, "-", "")}stcosmosbonusbackup" + resource_group_name = var.resource_group_name + location = var.location + + account_kind = "StorageV2" + account_tier = "Standard" + access_tier = "Cool" + account_replication_type = "GRS" + public_network_access_enabled = false + allow_nested_items_to_be_public = true + use_legacy_defender_version = false + blob_container_delete_retention_days = 7 + blob_delete_retention_days = 7 + + enable_low_availability_alert = false + + tags = var.tags +}