Skip to content

Commit

Permalink
netapp_volume: allow up to 102400 MB for the storage_quota_in_g… (#6228)
Browse files Browse the repository at this point in the history
Fixing bug related to 4TiB volume size limit to ANF's current limit of 100TiB.
  • Loading branch information
paulomarquesc authored Mar 23, 2020
1 parent 7b858f2 commit f2a00d5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1022,12 +1022,12 @@ resource "azurerm_role_assignment" "disk-encryption-read-keyvault" {
}
resource "azurerm_managed_disk" "test" {
name = "acctestd-%d"
location = azurerm_resource_group.test.location
resource_group_name = azurerm_resource_group.test.name
storage_account_type = "Standard_LRS"
create_option = "Empty"
disk_size_gb = 1
name = "acctestd-%d"
location = azurerm_resource_group.test.location
resource_group_name = azurerm_resource_group.test.name
storage_account_type = "Standard_LRS"
create_option = "Empty"
disk_size_gb = 1
%s
depends_on = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func resourceArmNetAppVolume() *schema.Resource {
"storage_quota_in_gb": {
Type: schema.TypeInt,
Required: true,
ValidateFunc: validation.IntBetween(100, 4096),
ValidateFunc: validation.IntBetween(100, 102400),
},

"export_policy_rule": {
Expand Down

0 comments on commit f2a00d5

Please sign in to comment.