Open pauljegouic opened 3 weeks ago
The resource ibm_container_vpc_cluster does not output the name/id of the loadbalancer as mentionned in the doc.
ibm_container_vpc_cluster
It is always null.
https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/container_vpc_cluster#attribute-reference
We need this since the Security Group provisionned with the ALB is not secured, thus we need to customize it (inbound and outbound).
We have another way to retrieve it, but it is based on your naming convention. Not sure it's a good practice.
@hkantare
Regards,
The ocp module works around those limitations - check this out https://github.com/terraform-ibm-modules/terraform-ibm-base-ocp-vpc/tree/05e504dbd0e3057171616ec98bfb9f96d7d45813/examples/custom_sg
The resource
ibm_container_vpc_cluster
does not output the name/id of the loadbalancer as mentionned in the doc.It is always null.
https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/container_vpc_cluster#attribute-reference
We need this since the Security Group provisionned with the ALB is not secured, thus we need to customize it (inbound and outbound).
We have another way to retrieve it, but it is based on your naming convention. Not sure it's a good practice.
@hkantare
Regards,