upload/azure: use cheaper storage accounts

Previously, we used RAGRS which means that all our data was always replicated
to at least two regions for increased safety. This is cool but expensive, this PR
switches the API to use LRS that just uses one region.

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
This commit is contained in:
Ondřej Budai 2021-08-16 08:54:37 +02:00 committed by Ondřej Budai
parent 7a298c838b
commit 1e2ba4da64

View file

@ -67,7 +67,7 @@ func (ac Client) CreateStorageAccount(ctx context.Context, subscriptionID, resou
result, err := c.Create(ctx, resourceGroup, name, storage.AccountCreateParameters{
Sku: &storage.Sku{
Name: storage.StandardRAGRS, // TODO: investigate the default value
Name: storage.StandardLRS,
Tier: storage.Standard,
},
Location: &location,