Open
Description
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
Labels
Type
Projects
Status
2.3.0