terraform-provider-ibm
terraform-provider-ibm copied to clipboard
docs in is_instance_template do not cover volume_attachments completely
https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/is_instance_template
- [ ] The Note is empty
- [ ] The possible values for volume_prototype? There is an example above which would indicate "general-purpose" is one example that must be listed. What are the other possible values?:
volume_attachments {
delete_volume_on_instance_delete = true
name = "example-volume-att-01"
volume_prototype {
iops = 3000
profile = "general-purpose"
capacity = 200
}
}
- [ ] https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/is_instance_volume_attachment
Maybe same as https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/is_instance_volume_attachment
Allowed values are : [general-purpose, 5iops-tier, 10iops-tier, custom].
- [ ] I tried the example provided in the docs and it did not work:
volume_attachments {
delete_volume_on_instance_delete = true
name = "${var.name}-template-volume-attachment"
volume_prototype {
iops = 3000
profile = "general-purpose"
capacity = 200
}
}
│ Error: [ERROR] Error creating InstanceTemplate: User defined volume IOPS is not allowed for storage tier of specified volume profile general-purpose
│ {
│ "StatusCode": 400,
Handle docs to profile same was as api spec: https://github.ibm.com/riaas/api-spec/issues/4081
@powellquiring thanks for reporting. fix is on its way