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

[Enhancement]: Missing autosize option for volume resource #384

Open
faboulaws opened this issue Jan 29, 2025 · 0 comments
Open

[Enhancement]: Missing autosize option for volume resource #384

faboulaws opened this issue Jan 29, 2025 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@faboulaws
Copy link

Description

The current version (2.0.1) the provider does not support autosize.

Affected Resource(s) and/or Data Source(s)

  • netapp-ontap_storage_volume_resource

Potential Terraform Configuration

resource "netapp-ontap_storage_volume_resource" "ontap_vol" {
  cx_profile_name = "aws"
  name            = "vol1"
  svm_name        = "mySvm"
  aggregates = [
    {
      name = "aggr1"
    }
  ]
  space = {
    size      = 20480
    size_unit = "mb"
  }
  autosize {
   mode = "grow" # grow, grow_shrink, off
   grow_threshold = 80 # Used space threshold size, in percentage, for the automatic growth of the volume. When the amount of used space in the volume becomes greater than this threhold, the volume automatically grows unless it has reached the maximum size. 
   maximum = 90000 # Maximum size in bytes up to which a volume grows automatically. This size cannot be less than the current volume size, or less than or equal to the minimum size of volume.
   shrink_threshold = 20 # Used space threshold size, in percentage, for the automatic shrinkage of the volume.
   minimum = 9000 # Minimum size in bytes up to which the volume shrinks automatically. This size cannot be greater than or equal to the maximum size of volume.
}
 
}

References

See ONTAP REST API for further reference.

Would you like to implement a fix?

None

@faboulaws faboulaws added the enhancement New feature or request label Jan 29, 2025
@suhasbshekar suhasbshekar moved this from Future to 2.2 in Terraform for ONTAP Roadmap Feb 5, 2025
@suhasbshekar suhasbshekar added this to the 2.2 milestone Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: 2.2
Development

No branches or pull requests

2 participants