-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
AMLFS provider limit for storage_capacity_in_tb set to 8 - 128TiB, when the value should be 8 - 768TiB. #23406
Comments
As an aside, it would also be great to fix the inputs accepted be between 4 and 768 (instead of 8 and 768). The step size for the AMLFS-Durable-Premium-500 sku is 4TiB, so '4' is the lowest common denominator. |
Hi @clfriede, thank you for opening this issue and I am more than happy to take a look at the current implementation of this resource within Terraform, but per the sample configuration and the Microsoft Documentation the @barbisch, agreed, per the above documentation the min and max values for the storage capacity appear to be dependent on which The documentation also mentions that: So I am not sure how to move forward as the documented limits can be exceeded per instance with an exception from Azure. That said I will look at the code and see if I can improve the current experience for our customers. 🚀 |
Hi @WodansSon - you're correct that the public docs suggest that 128 is the max. HOWEVER - that is simply our default max. For many reasons, we don't want just any customer with an Azure account to deploy very large filesystems. We do have a workaround for our largest customers - we add a tag to their subscriptions to allow them to go larger. They can go up to 768TiB currently but that will soon (early 2024) be increased to over 1PiB. Customers will receive an error if they attempt to deploy something too large. It might be easiest for you to remove the validation on the maximum all together and defer to the resource provider? Thank you in advance for your support on this. It's truly appreciated! |
[like] Cliff Friedel reacted to your message:
…________________________________
From: brlepore ***@***.***>
Sent: Friday, September 29, 2023 11:31:55 AM
To: hashicorp/terraform-provider-azurerm ***@***.***>
Cc: Cliff Friedel ***@***.***>; Mention ***@***.***>
Subject: Re: [hashicorp/terraform-provider-azurerm] AMLFS provider limit for storage_capacity_in_tb set to 8 - 128TiB, when the value should be 8 - 768TiB. (Issue #23406)
Hi @WodansSon<https://github.com/WodansSon> - you're correct that the public docs suggest that 128 is the max. HOWEVER - that is simply our default max. For many reasons, we don't want just any customer with an Azure account to deploy very large filesystems. We do have a workaround for our largest customers - we add a tag to their subscriptions to allow them to go larger. They can go up to 768TiB currently but that will soon (early 2024) be increased to over 1PiB.
Customers will receive an error if they attempt to deploy something too large. It might be easiest for you to remove the validation on the maximum all together and defer to the resource provider?
—
Reply to this email directly, view it on GitHub<#23406 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AKGGPQHYIZBVKH6Q4RID7CDX42WSXANCNFSM6AAAAAA5KD5YXU>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
@blepore, that makes sense, I will do the three following things to resolve this issue:
Example of
|
Thank you so much for the quick action @WodansSon! Replying to your question -
Yes, these increments are enforced all the up through 768TiB. It sounds like your validation will be just fine. Thanks again! |
@WodansSon Thank you for your help on this issue! It is greatly appreciated. Would you happen to know when 3.76.0 is scheduled for release? Any information that you could provide would be helpful. |
Please see the Milestones page for release dates, thanks! |
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. |
Is there an existing issue for this?
Community Note
Terraform Version
1.5.7
AzureRM Provider Version
3.73.0
Affected Resource(s)/Data Source(s)
azurerm_managed_lustre_file_system
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
Terraform should be able to provide AMLFS clusters that are between 8 - 768TiB in size.
Actual Behaviour
Terraform errors out if you set the option for [storage_capacity_in_tb] greater than 128TiB, stating that the upper limit is 128TiB.
Steps to Reproduce
terraform apply
Important Factoids
N/A
References
Location showing incorrect values:
https://registry.terraform.io/providers/hashicorp/azurerm/3.73.0/docs/resources/managed_lustre_file_system
The text was updated successfully, but these errors were encountered: