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

Support for High-throughput Read Only HPC caches #13995

Open
rwagner3 opened this issue Nov 2, 2021 · 1 comment
Open

Support for High-throughput Read Only HPC caches #13995

rwagner3 opened this issue Nov 2, 2021 · 1 comment

Comments

@rwagner3
Copy link

rwagner3 commented Nov 2, 2021

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

Description

Currently azurerm only provides support for the Standard HPC Cache, and doesn't support for deploying the High-throughput Read Only HPC Caches.

When attempting to deploy, this is the error I'm getting due to unexpected values.

│ Error: expected cache_size_in_gb to be one of [3072 6144 12288 24576 49152], got 86491
│
│   with azurerm_hpc_cache.hpc_cache,
│   on main.tf line 202, in resource "azurerm_hpc_cache" "hpc_cache":202:   cache_size_in_gb    = 86491
│
╵
╷
│ Error: expected sku_name to be one of [Standard_2G Standard_4G Standard_8G], got Standard_L16G
│
│   with azurerm_hpc_cache.hpc_cache,
│   on main.tf line 204, in resource "azurerm_hpc_cache" "hpc_cache":204:   sku_name            = "Standard_L16G"

These are valid options when deploying through the Azure Portal.

New or Affected Resource(s)

  • azurerm_hpc_cache

Potential Terraform Configuration

resource "azurerm_hpc_cache" "example" {
  name                = "ro_hpc_cache"
  resource_group_name = data.azurerm_resource_group.example.name
  location            = var.location
  cache_size_in_gb    = 86491
  subnet_id           = data.azurerm_subnet.storage_subnet.id
  sku_name            = "Standard_L16G"
}

References

You can read about the new "High-throughput cache" "Read-only caching" on this page:
https://docs.microsoft.com/en-us/azure/hpc-cache/hpc-cache-create?tabs=azure-portal

@tbugfinder
Copy link

actually new cache sizes are available depending on the provider version.
Could this issue be closed?

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

No branches or pull requests

3 participants