Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

storage account kind "FileStorage" causes an Error #3756

Closed
andyt530 opened this issue Jun 29, 2019 · 2 comments · Fixed by #3750
Closed

storage account kind "FileStorage" causes an Error #3756

andyt530 opened this issue Jun 29, 2019 · 2 comments · Fixed by #3750

Comments

@andyt530
Copy link

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform (and AzureRM Provider) Version

py-az2tf AndyT$ terraform -v
Terraform v0.12.2
provider "azurerm" (terraform-providers/azurerm) 1.31.0

Affected Resource(s)

  • azurerm_storage_account

Terraform Configuration Files

resource azurerm_storage_account rg-test-at__strpfile {
         name = "strpfile"
         location = "uksouth"
         resource_group_name = "rg.test.at"
         account_tier = "Premium"
         account_kind = "FileStorage"
         account_replication_type = "LRS"
         enable_blob_encryption = true
         enable_file_encryption = true
         enable_https_traffic_only = true
         account_encryption_source = "Microsoft.Storage"
}

Debug Output

Panic Output

terraform validate

Error: expected account_kind to be one of [Storage BlobStorage StorageV2], got FileStorage

on azurerm_storage_account.rg-test-at__strpfile.tf line 1, in resource "azurerm_storage_account" "rg-test-at__strpfile":
1: resource azurerm_storage_account rg-test-at__strpfile {

Error Validating

Expected Behavior

"FileStorage" is a new Azure Premium Files storage kind and should not Error

Actual Behavior

Steps to Reproduce

terraform validate

Important Factoids

References

  • #0000
@MattMencel
Copy link
Contributor

Hey @andyt530... I just put in a PR for this a couple days ago...

#3750

@ghost
Copy link

ghost commented Aug 2, 2019

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 ghost locked and limited conversation to collaborators Aug 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants