Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save antonydevanchi/8d6fce3f034e77a83ff0b2904d8fa50f to your computer and use it in GitHub Desktop.
Save antonydevanchi/8d6fce3f034e77a83ff0b2904d8fa50f to your computer and use it in GitHub Desktop.
Flavor c6.6xlarge.2 is sold out
Terraform used the selected providers to generate the following execution plan.
Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
# sbercloud_compute_instance.ecs_vision[0] will be created
+ resource "sbercloud_compute_instance" "%removed%" {
+ access_ip_v4 = (known after apply)
+ access_ip_v6 = (known after apply)
+ availability_zone = "ru-moscow-1a"
+ charging_mode = (known after apply)
+ enterprise_project_id = (known after apply)
+ flavor_id = "c6.6xlarge.2"
+ flavor_name = (known after apply)
+ id = (known after apply)
+ image_id = "%removed%"
+ image_name = (known after apply)
+ key_pair = "terraform-keypair"
+ name = "%removed%"
+ power_action = (known after apply)
+ public_ip = (known after apply)
+ region = (known after apply)
+ security_group_ids = (known after apply)
+ security_groups = [
+ "default",
]
+ status = (known after apply)
+ stop_before_destroy = false
+ system_disk_id = (known after apply)
+ system_disk_size = 1024
+ system_disk_type = "SAS"
+ volume_attached = (known after apply)
+ network {
+ access_network = false
+ fixed_ip_v4 = (known after apply)
+ fixed_ip_v6 = (known after apply)
+ mac = (known after apply)
+ port = (known after apply)
+ uuid = "%removed%"
}
+ scheduler_hints {
+ deh_id = (known after apply)
+ fault_domain = (known after apply)
+ group = (known after apply)
+ tenancy = (known after apply)
}
}
Plan: 1 to add, 0 to change, 0 to destroy.
Do you want to perform these actions?
Terraform will perform the actions described above.
Only 'yes' will be accepted to approve.
Enter a value: yes
sbercloud_compute_instance.ecs_vision[0]: Creating...
│ Error: Error creating sbercloud server:
Bad request with:
[POST https://ecs.ru-moscow-1.hc.sbercloud.ru/v1.1/%removed%/cloudservers],
error message:
{"error":{"message":"Flavor c6.6xlarge.2 is sold out.","code":"Ecs.0018"}}
│ with sbercloud_compute_instance.ecs_vision[0],
│ on main.tf line 45, in resource "sbercloud_compute_instance" "%removed%":
│ 45: resource "sbercloud_compute_instance" "%removed%" {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment