Skip to content

[Enhancement]: Limited Support for FlexGroup Volume Creation #382

Open
@faboulaws

Description

@faboulaws

Description

When defining a volume resource the following options to create a flexgroup volume are missing:

  • volume style (flexvol,flexgroup,flexgroup_constituent): Specifying a volume "style" creates a volume of that type
  • constituents_per_aggregate: If a volume is being created on a single aggregate, the system creates a flexible volume if the "constituents_per_aggregate" field is not specified, or a FlexGroup volume if it is specified.

Because of these missing options, a flexgroup volume with one aggregate cannot be created.

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"
  }
  constituents_per_aggregate = 8
  style = "flexgroup"
 
}

References

See ONTAP REST API for further reference

Would you like to implement a fix?

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    2.3.0

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions