machine flavor not being selected in vpc cluster tile
Closed this issue · 1 comments
csantanapr commented
Describe the bug
Error while creating new vpc cluster on ibm cloud.
Didn't select a machine flavor assuming one would be auto selected
Error
2020/12/15 20:03:55 Terraform apply | Error: Request failed with status code: 400, ServerErrorResponse: {"incidentID":"6022c54923742713-DEN","code":"E4e5b","description":"Could not find flavor in the requested zone.","type":"BadRequest","recoveryCLI":"To list available flavors, run 'ibmcloud ks flavors --zone \u003czone\u003e'."}
2020/12/15 20:03:55 Terraform apply |
2020/12/15 20:03:55 Terraform apply | on .terraform/modules/dev_cluster/main-1-vpc.tf line 72, in resource "ibm_container_vpc_cluster" "cluster":
2020/12/15 20:03:55 Terraform apply | 72: resource "ibm_container_vpc_cluster" "cluster" {
2020/12/15 20:03:55 Terraform apply |
2020/12/15 20:03:55 Terraform apply |
2020/12/15 20:03:55 Terraform APPLY error: Terraform APPLY errorexit status 1
2020/12/15 20:03:55 Could not execute action
csantanapr commented
It looks the default flavor we have is not available.
This are the current ones that are available
❯ ibmcloud ks flavors --zone us-east-1 --provider vpc-gen2
OK
For more information about these flavors, see 'https://ibm.biz/flavors'
Name Cores Memory Network Speed OS Server Type Storage Secondary Storage Provider
bx2.16x64 16 64GB 16Gbps UBUNTU_18_64 virtual 100GB 0B vpc-gen2
bx2.2x8† 2 8GB 4Gbps UBUNTU_18_64 virtual 100GB 0B vpc-gen2
bx2.32x128 32 128GB 16Gbps UBUNTU_18_64 virtual 100GB 0B vpc-gen2
bx2.48x192 48 192GB 16Gbps UBUNTU_18_64 virtual 100GB 0B vpc-gen2
bx2.4x16 4 16GB 8Gbps UBUNTU_18_64 virtual 100GB 0B vpc-gen2
bx2.8x32 8 32GB 16Gbps UBUNTU_18_64 virtual 100GB 0B vpc-gen2
cx2.16x32 16 32GB 16Gbps UBUNTU_18_64 virtual 100GB 0B vpc-gen2
cx2.2x4† 2 4GB 4Gbps UBUNTU_18_64 virtual 100GB 0B vpc-gen2
cx2.32x64 32 64GB 16Gbps UBUNTU_18_64 virtual 100GB 0B vpc-gen2
cx2.48x96 48 96GB 16Gbps UBUNTU_18_64 virtual 100GB 0B vpc-gen2
cx2.4x8† 4 8GB 8Gbps UBUNTU_18_64 virtual 100GB 0B vpc-gen2
cx2.8x16 8 16GB 16Gbps UBUNTU_18_64 virtual 100GB 0B vpc-gen2
mx2.16x128 16 128GB 16Gbps UBUNTU_18_64 virtual 100GB 0B vpc-gen2
mx2.2x16† 2 16GB 4Gbps UBUNTU_18_64 virtual 100GB 0B vpc-gen2
mx2.32x256 32 256GB 16Gbps UBUNTU_18_64 virtual 100GB 0B vpc-gen2
mx2.48x384 48 384GB 16Gbps UBUNTU_18_64 virtual 100GB 0B vpc-gen2
mx2.4x32 4 32GB 8Gbps UBUNTU_18_64 virtual 100GB 0B vpc-gen2
mx2.8x64 8 64GB 16Gbps UBUNTU_18_64 virtual 100GB 0B vpc-gen2