Open lionelmace opened 11 months ago
Based on your Terraform script , i am assuming that you are trying to use the same instance_id in different regions which can't be done. Each region needs to have an unique instance after going regional.
this line: is the base of my assumption. https://github.com/lionelmace/ibmcloud-utils/blob/ee1c688a7d4dc86e18dac83dc19a4838c6cdb272/terraform/scc/security-scc.tf#L53
@tyao117 No. I'm setting the instance_id created tin the same region eu-de
.
The error Your account is disabled
occurs when trying to target an SCC instance_id that does not exist anymore or has been deleted.
This error message should be replaced by something like this SCC instance_id you're trying to target has been deleted. Please make sure you target the correct SCC instance_id.
Community Note
Terraform CLI and Terraform IBM Provider Version
I cannot run terraform v1.58.0-beta0 anymore without facing this error
Your account is disabled
when calling the resourceibm_scc_profile_attachment.scc_profile_attachment_instance
. My account is not disabled!Full stack trace:
Affected Resource(s)
Steps to Reproduce
Here are the terraform scripts used https://github.com/lionelmace/ibmcloud-utils/tree/master/terraform/scc
terraform init
terraform apply