FlexibleEngineCloud / terraform-provider-flexibleengine

Terraform flexibleengine provider
https://www.terraform.io/docs/providers/flexibleengine/
Mozilla Public License 2.0
30 stars 53 forks source link

flexibleengine_cce_cluster_v3 domcumentation is wrong #112

Closed antonin-a closed 5 years ago

antonin-a commented 5 years ago

Terraform Version

NA

Affected Resource(s)

flexibleengine_cce_cluster_v3

Terraform Configuration Files

   variable "cluster_id" { }
   variable "ssh_key" { }
   variable "availability_zone" { }

   resource "flexibleengine_cce_node_v3" "node_1" {
    cluster_id="${var.cluster_id}"
    name = "node1"
    flavor_id="s1.medium"
    iptype="5_bgp"
    availability_zone= "${var.availability_zone}"
    key_pair="${var.ssh_key}"
    root_volume = {
     size= 40,
     volumetype= "SATA"
    }
    sharetype= "PER"
    bandwidth_size= 100,
    data_volumes = [
     {
      size= 100,
      volumetype= "SATA"
     },
    ]
  }

Debug Output

error message: {"errorCode":"E.CFE.4000407","reason":"Version is too low","message":"lowest version is v1.7.3-r10"}

Expected Behavior

cluster_type is suposed to be optional: "cluster_type - (Required) Cluster Type, Changing this parameter will create a new cluster resource."

Actual Behavior

We got an error message because the default value seems to be a "too low" version

antonin-a commented 5 years ago

duplicated -> closing