是否支持数据保护 - 使用 Terraform 在 Azure 上存储帐户?

Is there a support for Data protection - storage account on Azure using Terraform?

是否有我可以使用的资源来启用 Azure 的 blob 数据保护对象: 软删除 && 版本控制?

您只需要在 blob_properties 中设置 Azure 存储帐户的 属性 delete_retention_policy 就像这个例子:

blob_properties {
    delete_retention_policy {
      days = 7
    }
  }

然后它像这样对 Blob 起作用: