Releases: FlexibleEngineCloud/terraform-flexibleengine-cce
v2.7.1
v2.7.0
v2.6.0
Fix scale_enable attribute typo
Merge pull request #19 from shoudusse/fix-nodepool-attribute-name fix(cce/node_pool): replace scall_enable with scale_enable
Add container network type
Merge pull request #17 from stephbat/add_container_network_type add container_network_type
Add outputs for cluster and users certificates
Merge pull request #14 from shoudusse/add-certificates-outputs Add outputs to retrieve certificates
v2.3.2
Add cluster_type variable
v2.3.1
v2.3.0
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
- 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.