UCL-CloudLabs / user-portal

Front end user portal for CloudLabs
0 stars 0 forks source link

Terraform error when creating storage group #52

Closed ageorgou closed 6 years ago

ageorgou commented 6 years ago

When trying to deploy a new host, this error appears:

Warnings:

  * azurerm_storage_account.storage: "account_type": [DEPRECATED] This field has been split into `account_tier` and `account_replication_type`

2 error(s) occurred:

* azurerm_storage_account.storage: "account_replication_type": required field is not set
* azurerm_storage_account.storage: "account_tier": required field is not set

Sure enough, our template uses account_type, and not the "new" fields. This seems to have become an error only yesterday (October 18), although the deprecation warning may have been there before...

I'm guessing we need to split the current type (Standard_LRS) into the new fields. I'll have a look and see what goes where.