Skip to content

[Enhancement]: Missing snaplock options for volume resource #385

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

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

[Enhancement]: Missing snaplock options for volume resource #385

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

Comments

@faboulaws
Copy link

faboulaws commented Jan 29, 2025

Description

Only snaplock type is supported.

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"
  }
  snaplock {
    autocommit_period = "P20M"
    is_audit_log = false
    privileged_delete = "enabled"
    retention = {
      minimum = "P1M"
      maximum = "P10M"
      default = "P5M"
    }
    # nice go have fields below
    expiry_time = "Wed Sep 5 11:02:42 GMT 2025"
    append_mode_enabled = true
    litigation_count = 10
    unspecified_retention_file_count = 10
  }
 
}

References

See ONTAP REST API for further reference.

No response

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
@wenjun666 wenjun666 self-assigned this Mar 5, 2025
@suhasbshekar suhasbshekar moved this from 2.2 to 2.3.0 in Terraform for ONTAP Roadmap May 1, 2025
@suhasbshekar suhasbshekar modified the milestones: 2.2, 2.3.0 May 1, 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.3.0
Development

When branches are created from issues, their pull requests are automatically linked.

3 participants