You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create an Azure Storage account and enable "file" encryption (probably also triggers with queue and table encryption). Example: az storage account create --location="westus" --name="tfbugtestfileenc" --resource-group="tfbugtest" --kind="Storage" --sku="Standard_GRS" --access-tier="Hot" --encryption="file"
Try to import the resource using Terraform: terraform import azurerm_storage_account.importbug /subscriptions/.../resourceGroups/tfbugtest/providers/Microsoft.Storage/storageAccounts/tfbugtestfileenc
Crash.
Important Factoids
Terraform import works fine when 1) no encryption is enabled, or 2) blob encryption is enabled.
The azurerm_storage_account resource does not actually support specifying file, queue, or table encryption. This might be necessary to take care of instead of fixing this issue, because then you could actually use Terraform to correctly manage this setting.
The text was updated successfully, but these errors were encountered:
- Support for File Encryption. Fixes#80
- Adding Import tests
- Support for Custom Domains on Storage Accounts. Fixes#15
- Splitting the storage account Tier and Replication out into separate fields. Incorporating #117 & Fixing #110
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks!
ghost
locked and limited conversation to collaborators
Apr 1, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This issue was originally opened by @lewinski as hashicorp/terraform#14160. It was migrated here as part of the provider split. The original body of the issue is below.
Terraform Version
Terraform v0.9.3 (Homebrew)
Affected Resource(s)
Terraform Configuration Files
N/A
Panic Output
https://gist.github.com/lewinski/9cc12d7a6a0698266aebaf50040baf55
Expected Behavior
Terraform should have imported the resource.
Actual Behavior
Terraform crashed.
Steps to Reproduce
az storage account create --location="westus" --name="tfbugtestfileenc" --resource-group="tfbugtest" --kind="Storage" --sku="Standard_GRS" --access-tier="Hot" --encryption="file"
terraform import azurerm_storage_account.importbug /subscriptions/.../resourceGroups/tfbugtest/providers/Microsoft.Storage/storageAccounts/tfbugtestfileenc
Important Factoids
Terraform import works fine when 1) no encryption is enabled, or 2) blob encryption is enabled.
The azurerm_storage_account resource does not actually support specifying file, queue, or table encryption. This might be necessary to take care of instead of fixing this issue, because then you could actually use Terraform to correctly manage this setting.
The text was updated successfully, but these errors were encountered: