You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Terraform CLI and Terraform IBM Provider Version
terraform -v
Terraform v0.15.3
on darwin_amd64
+ provider registry.terraform.io/ibm-cloud/ibm v1.25.0
Affected Resource(s)
ibm_is_volume
Expected Behavior
Should resize the volume without any error. This works fine in UI.
Actual Behavior
Steps to Reproduce
resource"ibm_is_volume""dedicated_volume" {
name="${var.basename}-volume"profile="10iops-tier"zone="${var.region}-1"resource_group=var.resource_group_idcapacity=var.resize_dedicated_instance_volume?250:100encryption_key=var.keyprotect_key_iddepends_on=[ibm_iam_authorization_policy.dedicated_volume_policy]
}
// Provision instance in a dedicated hostresource"ibm_is_instance""dedicated_instance" {
name="${var.basename}-dedicated-instance"image=data.ibm_is_image.image.idprofile=var.resize_dedicated_instance?"cx2-8x16":"cx2-2x4"primary_network_interface {
subnet=ibm_is_subnet.dedicated_subnet.idsecurity_groups=[ibm_is_security_group.dedicated_security_group.id]
}
dedicated_host=ibm_is_dedicated_host.dedicated_host.idvpc=ibm_is_vpc.dedicated_vpc.idzone="${var.region}-1"keys=local.ssh_key_idsresource_group=var.resource_group_idvolumes=[ibm_is_volume.dedicated_volume.id]
auto_delete_volume=true
}
terraform apply - An instance with attached volume is provisioned on a dedicated host
Set the resize_dedicated_instance_volume to true to increase the volume capacity from the default 100 GB to 250 GB.
Community Note
Terraform CLI and Terraform IBM Provider Version
Affected Resource(s)
Expected Behavior
Should resize the volume without any error. This works fine in UI.
Actual Behavior
Steps to Reproduce
terraform apply
- An instance with attached volume is provisioned on a dedicated hostresize_dedicated_instance_volume
to true to increase the volume capacity from the default 100 GB to 250 GB.terraform apply
fails with
Important Factoids
References
The text was updated successfully, but these errors were encountered: