Skip to content

Releases: FlexibleEngineCloud/terraform-flexibleengine-cce

v2.7.1

19 Dec 17:12
ce8132e
Compare
Choose a tag to compare

Fix minimum provider version

container runtime parameter needs version 1.44 of Flexible Engine provider

v2.7.0

13 Dec 16:45
9c5c683
Compare
Choose a tag to compare

Add runtime parameter

v2.6.0

05 Dec 18:05
d13aca7
Compare
Choose a tag to compare

Add vm_tags attribut to node_pool_list

Fix scale_enable attribute typo

29 Aug 15:36
157a988
Compare
Choose a tag to compare
Merge pull request #19 from shoudusse/fix-nodepool-attribute-name

fix(cce/node_pool): replace scall_enable with scale_enable

Add container network type

24 May 07:41
e207278
Compare
Choose a tag to compare
Merge pull request #17 from stephbat/add_container_network_type

add container_network_type

Add outputs for cluster and users certificates

17 Oct 15:22
40440bb
Compare
Choose a tag to compare
Merge pull request #14 from shoudusse/add-certificates-outputs

Add outputs to retrieve certificates

v2.3.2

17 Feb 14:10
8ae2714
Compare
Choose a tag to compare

Add cluster_type variable

v2.3.1

28 Jan 18:28
23050ed
Compare
Choose a tag to compare
  • Add extend_param parameter (multiAZ masters in HA mode or attached existing EIP as API Public IP). Please see this tab for further explanation.

v2.3.0

23 Dec 10:31
a114153
Compare
Choose a tag to compare

New features

  • Add EIP to cluster
  • Add taints to nodes
  • Add Node Pool creation
  • Add node_index parameter (compatibility break, please read the bellow note)

Important note regarding this new release:

This release comes with a compatibility break with the previous v2.2.0 and earlier.
We introduced an index name parameter for the nodes_list (node_index) in order to compute the nodes list as a map with indexes. This way, if the nodes list is modified (nodes order change or node deletion), the whole list won't be computed again with node deletion / creation.

The index name is only a Terraform parameter and won't be display anywhere in Flexible Engine.

You will have to fix the Terraform state to avoid nodes deletion / creation when upgrading to this new module version:

  • List the resources
terraform state list
...
module.cce2_cluster.flexibleengine_cce_node_v3.cce_cluster_node["0"]
module.cce2_cluster.flexibleengine_cce_node_v3.cce_cluster_node["1"]
module.cce2_cluster.flexibleengine_cce_node_v3.cce_cluster_node["2"]
module.cce2_cluster.flexibleengine_cce_node_v3.cce_cluster_node["3"]
...
  • For each node resource, you can display the node name
terraform state show "module.cce2_cluster.flexibleengine_cce_node_v3.cce_cluster_node[0]" | grep name
terraform state show "module.cce2_cluster.flexibleengine_cce_node_v3.cce_cluster_node[1]" | grep name
...
  • Finally, change the resource index by the one you set with the node_index parameter in the node definition
terraform state mv "module.cce2_cluster.flexibleengine_cce_node_v3.cce_cluster_node[0]" "module.cce2_cluster.flexibleengine_cce_node_v3.cce_cluster_node[\"<first_node_index>\"]"
terraform state mv "module.cce2_cluster.flexibleengine_cce_node_v3.cce_cluster_node[1]" "module.cce2_cluster.flexibleengine_cce_node_v3.cce_cluster_node[\"<second_node_index>\"]"
...

Index name in the new feature node_pool_list will work the same way once implemented.

v2.2.0

18 Nov 14:16
Compare
Choose a tag to compare
  • Add postinstall and presinstall scripts on the node configuration

Important Note regarding this new module version:

Now you need to add two parameters on the node configuration postinstall_script and preinstall_script. If you don't use this parameters, set the value to null as the example in the README.