Closed rolivieri closed 4 years ago
Refer to the docs for resource_instance (https://cloud.ibm.com/docs/terraform?topic=terraform-resource-mgmt-resources#resource-instance).
You must pass the correct parameters
json data, to successfully provision the Blockchain resource, it cannot be blank.. We have not yet tested the resource_instance for IBM Blockchain. Pls connect with the blockchain service team to get a sample request payload / parameters, to provision the Blockchain resource instance on IBM Cloud.
@hkantare, I will wait for an update as the terraform provider issue in here.
Let me know if you need to engage with the blockchain service team to discuss.
We identified the issue ..We need to make changes in reading Metadata to check if the service can be provisioned using service-instance or resource-instance. It will be available part of next release...(early next release)
@hkantare Thanks for the update. When will this next release be available? Can you provide an ETA?
@hkantare Thank you. We'll wait for your update about the ETA for the next release.
ETA will be mostly on 26th or 27th March..We will update the issue once we fix Terraform and update Schematics
@hkantare Hello, just following up. Is the issue resolved or do you guys have a new ETA that you could share with us?
The issue is resolved..Can you please try with latest relelases v1.2.6 or v1.2.5
@hkantare It is working! Thanks for your help!
Can you please advice whether this behavior is related to the closed issue or whether I have to open a new issue. Thanks in advance.
@uhaller Are you using Terraform provider or IBM cloud cli to provision resource
When running the ibmcloud command I'm assuming this is the IBM cloud cli. I'm not sure whether the Terraform provider is used under the hood to provision resources.
Yes its an issue from ibmcloud cli it doesn't use the Terraform provider ..From our terraform provider we can provision the resource successfully
resource "ibm_resource_instance" "mos-ibp" {
name = "IBP-MOS"
service = "blockchain"
plan = "standard"
location = "${var.ibm_region}"
resource_group_id = "${data.ibm_resource_group.mos_rg.id}"
}
You can open cloud support ticket or https://github.ibm.com/Bluemix/bluemix-cli/issues open an issue here..
ok, thanks.
Hi @rolivieri ,
After IBP resource creation how do you link it with IKS cluster? I see this is a manual step in IBM cloud console
Hello, our environment is IBM Cloud Schematics, Terraform version v0.11.14.
Using Schematics/Terraform, we can successfully provision services on the IBM Cloud such as LogDNA, Sysdig, IBM Cloud Object Storage, and others... however, attempting to provision an instance of IBM Blockchain Platform always fails with the following error:
Here's the block of code from our terraform script:
And looking at the source code for
terraform-provider-ibm
, we can see that this is the line where it fails:https://github.com/IBM-Cloud/terraform-provider-ibm/blob/master/ibm/resource_ibm_resource_instance.go#L180
IBM Blockchain Platform (v2) is not a Cloud Foundry service; therefore using
ibm_service_instance
is not the solution. The error message is not quite useful so not sure what is wrong. Looking at theterraform-provider-ibm
source code, it looks like there could be some metadata missing on the IBM Blockchain Platform service definition?Could you please advice? Thanks.