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
OCPBUGS-24473: IBMCloud: Set IBM TF visibility based on URLs
Set the IBM Cloud Terraform visibility mode based on whether
any ServiceEndpoints are suspected to be private (or direct for COS),
based on their URL's.
Related: https://issues.redhat.com/browse/OCPBUGS-24473
// While we should have already confirmed there are ServiceEndpoints, we can verify data did get created, requiring the JSON file gets created and passed along
666
-
ifendpointData==nil {
667
-
returnfmt.Errorf("failed to generate endpoint JSON with provided IBM Cloud ServiceEndpoints")
677
+
// While service endpoints may not be empty, they may not be required for Terraform.
678
+
// So, if we have not endpoint data, we don't need to generate the JSON override file.
679
+
ifendpointData!=nil {
680
+
// Add endpoint JSON data to list of generated files for Terraform
0 commit comments