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]: Add autosize to ontap_storage_volume_resource #245

Open
ianc769 opened this issue Jul 22, 2024 · 1 comment · May be fixed by #406
Open

[Enhancement]: Add autosize to ontap_storage_volume_resource #245

ianc769 opened this issue Jul 22, 2024 · 1 comment · May be fixed by #406
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@ianc769
Copy link

ianc769 commented Jul 22, 2024

Description

Add autosize to ontap_storage_volume_resource

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

netapp-ontap_storage_volume_resource

Potential Terraform Configuration

resource "netapp-ontap_storage_volume_resource" "example" {
  cx_profile_name = "cluster5"
  name = "vol1"
  svm_name = "svm2"
  aggregates = [
    {
      name = "aggr2"
    },
  ]
  space_guarantee = "none"
  snapshot_policy = "default-1weekly"
  encryption = true
  snaplock = {
    type = "non_snaplock"
  }
  space = {
      size = 30
      size_unit = "mb"
      percent_snapshot_space = 20
    logical_space = {
      enforcement = true
      reporting = true
    }
  }
  tiering = {
      policy_name = "all"
  }
  nas = {
    export_policy_name = "test"
    group_id = 10
    user_id = 20
    unix_permissions = "755"
    security_style = "mixed"
      junction_path = "/testacc"
  }
  ## New autosize
  autosize {
    grow_threshold = 50
    maximum = 1000 # Maximum size in bytes
    minimum = 7000 # Minimum size in bytes
    mode = grow # or `grow_shrink` or `off`
    shrink_threshold = 20
    size_unit = 'gb' # Not part of the API but useful for Code
  }
}

References

https://docs.netapp.com/us-en/ontap-restapi-9131//ontap/patch-storage-volumes-.html#definitions

Would you like to implement a fix?

None

@ianc769 ianc769 added the enhancement New feature or request label Jul 22, 2024
@carchi8py carchi8py added this to the 1.2.0 milestone Jul 22, 2024
@carchi8py carchi8py moved this from Future to 1.1.2 in Terraform for ONTAP Roadmap Jul 22, 2024
@carchi8py carchi8py moved this from 1.1.2 to 1.2.0 in Terraform for ONTAP Roadmap Jul 22, 2024
@carchi8py
Copy link
Contributor

I've added this to the next major release, which will be 1.2.

@carchi8py carchi8py moved this from 2.0.0 to 2.1 in Terraform for ONTAP Roadmap Aug 27, 2024
@suhasbshekar suhasbshekar modified the milestones: 2.0, 2.1 Aug 27, 2024
@csahu9 csahu9 self-assigned this Feb 7, 2025
@suhasbshekar suhasbshekar moved this from 2.1 to 2.2 in Terraform for ONTAP Roadmap Feb 12, 2025
@suhasbshekar suhasbshekar modified the milestones: 2.1, 2.2 Feb 12, 2025
@csahu9 csahu9 linked a pull request Feb 13, 2025 that will close this issue
@csahu9 csahu9 linked a pull request Feb 13, 2025 that will close this issue
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

Successfully merging a pull request may close this issue.

4 participants