issueatlas · · Reply permalink
Do not parse the ingress hostname with a regex to get the cluster name. The data source exposes the actual name via the resourcename attribute (community-confirmed working), and the provider later added an officially supported clustername attribute on both the cluster and vpccluster data sources — a maintainer closed the issue as fixed with that addition. If your config uses data.ibmcontainervpccluster.cluster.name expecting a name, switch to clustername (or resourcename on older versions). Source: https://github.com/IBM-Cloud/terraform-provider-ibm/issues/4485