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

Bug report-access_tier set per default for BlockBlobStorage fails #1998

Open
1 task done
sschne opened this issue Jun 7, 2024 · 0 comments
Open
1 task done

Bug report-access_tier set per default for BlockBlobStorage fails #1998

sschne opened this issue Jun 7, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@sschne
Copy link
Contributor

sschne commented Jun 7, 2024

Is there an existing issue for this?

  • I have searched the existing issues

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

Version of the module you are using

5.7.11

Rover Version

No response

Terraform Version

1.8.4

AzureRM Provider Version

3.105.0

Affected Resource(s)/Data Source(s)

azurerm_storage_account

Terraform Configuration Files

storage_accounts = {
  sa2 = {
    name               = "sa2dev"
    resource_group_key = "test"
    # Account types are BlobStorage, BlockBlobStorage, FileStorage, Storage and StorageV2. Defaults to StorageV2
    account_kind = "BlockBlobStorage"
    # Account Tier options are Standard and Premium. For BlockBlobStorage and FileStorage accounts only Premium is valid.
    account_tier = "Premium"
    #  Valid options are LRS, GRS, RAGRS, ZRS, GZRS and RAGZRS
    account_replication_type = "ZRS" # https://docs.microsoft.com/en-us/azure/storage/common/storage-redundancy
  }
}

Expected Behaviour

No response

Actual Behaviour

│ Error: 1 error occurred:
│ * access_tier is only available for accounts of kind: [BlobStorage StorageV2 FileStorage]



│ with module.example.module.storage_accounts["sa2"].azurerm_storage_account.stg,
│ on ../modules/storage_account/storage_account.tf line 20, in resource "azurerm_storage_account" "stg":
│ 20: resource "azurerm_storage_account" "stg" {

Steps to Reproduce

No response

Important Factoids

No response

References

No response

@sschne sschne added the bug Something isn't working label Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant