Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IBM Cloud Terraform provider 1.72.0 version fails to target IAM endpoint via file #5866

Open
hkantare opened this issue Dec 11, 2024 · 0 comments
Labels
service/IAM Issues related to IAM

Comments

@hkantare
Copy link
Collaborator

HI team, find when upgraded to v1.72.0, it no longer honor setting in endpoints. here is the way to reproduce
with provider.tf
provider "ibm" {
ibmcloud_api_key = var.ibmcloud_api_key
region = "us-south"
endpoints_file_path = "endpoints-testcloud.json"
visibility = "public"
}
and endpoints-testcloud.json file as
{
"IBMCLOUD_IAM_API_ENDPOINT":{
"public":{
"us-south":"https://iam.test.cloud.ibm.com/"
}
},
"IBMCLOUD_IAMPAP_API_ENDPOINT":{
"public":{
"us-south":"https://iam.test.cloud.ibm.com/"
}
}
}
it still talking to https://iam.cloud.ibm.com/ instead of https://iam.test.cloud.ibm.com/
this works fine in v1.71.3
can someone help check
I can simple test it with
data "ibm_iam_account_settings" "iam_account_settings" {
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
service/IAM Issues related to IAM
Projects
None yet
Development

No branches or pull requests

1 participant