You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Exposed the following variables in the fscloud submodule: additional_vpe_security_group_ids, number_of_lbs, additional_lb_security_group_ids, custom_security_group_ids, attach_ibm_managed_security_group<br>* The worker_pools variable also now has optional attribute additional_security_group_ids (#386)
| <aname="input_access_tags"></a> [access\_tags](#input\_access\_tags)| A list of access tags to apply to the resources created by the module, see https://cloud.ibm.com/docs/account?topic=account-access-tags-tutorial for more details |`list(string)`|`[]`| no |
36
+
| <aname="input_additional_lb_security_group_ids"></a> [additional\_lb\_security\_group\_ids](#input\_additional\_lb\_security\_group\_ids)| Additional security groups to add to the load balancers associated with the cluster. Ensure that the number\_of\_lbs is set to the number of LBs associated with the cluster. This comes in addition to the IBM maintained security group. |`list(string)`|`[]`| no |
37
+
| <aname="input_additional_vpe_security_group_ids"></a> [additional\_vpe\_security\_group\_ids](#input\_additional\_vpe\_security\_group\_ids)| Additional security groups to add to all existing load balancers. This comes in addition to the IBM maintained security group. | <pre>object({<br> master = optional(list(string), [])<br> registry = optional(list(string), [])<br> api = optional(list(string), [])<br> })</pre> |`{}`| no |
36
38
| <aname="input_addons"></a> [addons](#input\_addons)| Map of OCP cluster add-on versions to install (NOTE: The 'vpc-block-csi-driver' add-on is installed by default for VPC clusters, however you can explicitly specify it here if you wish to choose a later version than the default one). For full list of all supported add-ons and versions, see https://cloud.ibm.com/docs/containers?topic=containers-supported-cluster-addon-versions| <pre>object({<br> debug-tool = optional(string)<br> image-key-synchronizer = optional(string)<br> openshift-data-foundation = optional(string)<br> vpc-file-csi-driver = optional(string)<br> static-route = optional(string)<br> cluster-autoscaler = optional(string)<br> vpc-block-csi-driver = optional(string)<br> })</pre> |`null`| no |
39
+
| <aname="input_attach_ibm_managed_security_group"></a> [attach\_ibm\_managed\_security\_group](#input\_attach\_ibm\_managed\_security\_group)| Specify whether to attach the IBM-defined default security group (whose name is kube-<clusterid>) to all worker nodes. Only applicable if custom\_security\_group\_ids is set. |`bool`|`true`| no |
37
40
| <aname="input_cluster_config_endpoint_type"></a> [cluster\_config\_endpoint\_type](#input\_cluster\_config\_endpoint\_type)| Specify which type of endpoint to use for for cluster config access: 'private', 'vpe', 'link'. |`string`|`"private"`| no |
38
41
| <aname="input_cluster_name"></a> [cluster\_name](#input\_cluster\_name)| The name that will be assigned to the provisioned cluster |`string`| n/a | yes |
39
42
| <aname="input_cluster_ready_when"></a> [cluster\_ready\_when](#input\_cluster\_ready\_when)| The cluster is ready when one of the following: MasterNodeReady (not recommended), OneWorkerNodeReady, Normal, IngressReady |`string`|`"IngressReady"`| no |
43
+
| <aname="input_custom_security_group_ids"></a> [custom\_security\_group\_ids](#input\_custom\_security\_group\_ids)| Security groups to add to all worker nodes. This comes in addition to the IBM maintained security group if use\_ibm\_managed\_security\_group is set to true. If this variable is set, the default VPC security group is NOT assigned to the worker nodes. |`list(string)`|`null`| no |
40
44
| <aname="input_existing_cos_id"></a> [existing\_cos\_id](#input\_existing\_cos\_id)| The COS id of an already existing COS instance |`string`| n/a | yes |
41
45
| <aname="input_force_delete_storage"></a> [force\_delete\_storage](#input\_force\_delete\_storage)| Flag indicating whether or not to delete attached storage when destroying the cluster - Default: false |`bool`|`false`| no |
42
46
| <aname="input_ibmcloud_api_key"></a> [ibmcloud\_api\_key](#input\_ibmcloud\_api\_key)| APIkey that's associated with the account to use |`string`| n/a | yes |
43
47
| <aname="input_ignore_worker_pool_size_changes"></a> [ignore\_worker\_pool\_size\_changes](#input\_ignore\_worker\_pool\_size\_changes)| Enable if using worker autoscaling. Stops Terraform managing worker count |`bool`|`false`| no |
44
48
| <aname="input_kms_config"></a> [kms\_config](#input\_kms\_config)| Use to attach a HPCS instance to the cluster. If account\_id is not provided, defaults to the account in use. | <pre>object({<br> crk_id = string<br> instance_id = string<br> private_endpoint = optional(bool, true) # defaults to true<br> account_id = optional(string) # To attach HPCS instance from another account<br> })</pre> | n/a | yes |
49
+
| <aname="input_number_of_lbs"></a> [number\_of\_lbs](#input\_number\_of\_lbs)| The number of LBs to associated the additional\_lb\_security\_group\_names security group with. |`number`|`1`| no |
45
50
| <aname="input_ocp_entitlement"></a> [ocp\_entitlement](#input\_ocp\_entitlement)| Value that is applied to the entitlements for OCP cluster provisioning |`string`|`"cloud_pak"`| no |
46
51
| <aname="input_ocp_version"></a> [ocp\_version](#input\_ocp\_version)| The version of the OpenShift cluster that should be provisioned (format 4.x). This is only used during initial cluster provisioning, but ignored for future updates. Supports passing the string 'default' (current IKS default recommended version). If no value is passed, it will default to 'default'. |`string`|`null`| no |
47
52
| <aname="input_region"></a> [region](#input\_region)| The IBM Cloud region where the cluster will be provisioned. |`string`| n/a | yes |
@@ -50,7 +55,7 @@ No resources.
50
55
| <aname="input_verify_worker_network_readiness"></a> [verify\_worker\_network\_readiness](#input\_verify\_worker\_network\_readiness)| By setting this to true, a script will run kubectl commands to verify that all worker nodes can communicate successfully with the master. If the runtime does not have access to the kube cluster to run kubectl commands, this should be set to false. |`bool`|`true`| no |
51
56
| <aname="input_vpc_id"></a> [vpc\_id](#input\_vpc\_id)| ID of the VPC instance where this cluster will be provisioned |`string`| n/a | yes |
52
57
| <aname="input_vpc_subnets"></a> [vpc\_subnets](#input\_vpc\_subnets)| Metadata that describes the VPC's subnets. Obtain this information from the VPC where this cluster will be created | <pre>map(list(object({<br> id = string<br> zone = string<br> cidr_block = string<br> })))</pre> | n/a | yes |
description="Specify whether to attach the IBM-defined default security group (whose name is kube-<clusterid>) to all worker nodes. Only applicable if custom_security_group_ids is set."
155
+
type=bool
156
+
default=true
157
+
}
158
+
159
+
variable"custom_security_group_ids" {
160
+
description="Security groups to add to all worker nodes. This comes in addition to the IBM maintained security group if use_ibm_managed_security_group is set to true. If this variable is set, the default VPC security group is NOT assigned to the worker nodes."
error_message="Please provide at most 4 additional security groups."
166
+
}
167
+
}
168
+
169
+
variable"additional_lb_security_group_ids" {
170
+
description="Additional security groups to add to the load balancers associated with the cluster. Ensure that the number_of_lbs is set to the number of LBs associated with the cluster. This comes in addition to the IBM maintained security group."
0 commit comments