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
Executing Terraform from a CICD pipeline outside of IBM Cloud, we get the following error
is there some IBMC CLI commands we need to use to auth properly to prevent this from happening? presuming the terraform provider auth block is not enough, we are using a simple API KEY authentication method, it has full administrative rights to the entire IBMC account.
Terraform Plan Output
│ Error: RequestError: send request failed
--
2800 | │ caused by: Get "https://s3.direct.us-east.cloud-object-storage.appdomain.cloud/": dial tcp 161.26.0.31:443: i/o timeout
2801 | │
2802 | │ with ibm_cos_bucket.cos_bucket["images-sbx-east-images-sbx-bucket-east"],
2803 | │ on resource.tf line 377, in resource "ibm_cos_bucket" "cos_bucket":
2804 | │ 377: resource "ibm_cos_bucket" "cos_bucket" {
2805 | │
DEBUG LOG, different resource captured but its the same error from the above.
I think the method to query the resource, should not rely on a get request against the direct endpoint as this is unreachable outside the context of IBMC and ultimately the root cause of the issue, Deploying resources to IBMC via terraform should be CICD agnostic, this issue would also affect people trying to deploy direct bucket resources from Travis CICD, or Github Actions for example.
we should be able to deploy a direct or private bucket or associate to one in the code, without validating the url like how we currently are.
This should NOT be expected behavior from a CICD perspective.
Executing Terraform from a CICD pipeline outside of IBM Cloud, we get the following error
is there some IBMC CLI commands we need to use to auth properly to prevent this from happening? presuming the terraform provider auth block is not enough, we are using a simple API KEY authentication method, it has full administrative rights to the entire IBMC account.
Terraform Plan Output
DEBUG LOG, different resource captured but its the same error from the above.
Similar Tickets
The text was updated successfully, but these errors were encountered: