Skip to content
This repository has been archived by the owner on Oct 11, 2018. It is now read-only.

Support replacing storage_account when changing account type #27

Closed
discordianfish opened this issue Jun 15, 2017 · 2 comments
Closed

Comments

@discordianfish
Copy link

Terraform Version

  • 0.9.8

Affected Resource(s)

  • azurerm_storage_account

Expected Behavior

Since the account type can't be updated, I expected terraform to replace the resource instead.

Actual Behavior

What actually happened?

* module.workers.azurerm_storage_account.tectonic_worker: 1 error(s) occurred:

* azurerm_storage_account.tectonic_worker: Error updating Azure Storage Account type "c99c88ef": storage.AccountsClient#Update: Failure responding to request: StatusCode=400 -- Original Error: autorest/azure: Service returned an error. Status=400 Code="StorageAccountTypeConversionNotAllowed" Message="Storage account type cannot be changed to Premium_LRS."

Steps to Reproduce

  1. Create a Standard_LRS storage account with terraform and terraform apply
  2. Change the tier to Premium_LRS storage account and terraform apply
@tombuildsstuff
Copy link
Contributor

Hey @discordianfish

This is a bug affecting the AzureRM Provider repository - this repository is instead for the older Service Management (Azure / old portal). As such - I'm going to migrate this issue across to the new repository here: hashicorp/terraform-provider-azurerm#110

Sorry for the inconvenience

Thanks!

@discordianfish
Copy link
Author

Do'h, sorry and thanks for moving!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants