Open SIDDHARTHA-PRADHAN1 opened 2 months ago
cc @hkantare since its missing the labels here
FYI, this is how the instance is being created (code from this module):
resource "ibm_resource_instance" "es_instance" {
name = var.es_name
service = "messagehub"
plan = var.plan
location = var.region
resource_group_id = var.resource_group_id
tags = var.tags
timeouts {
create = var.create_timeout
update = var.update_timeout
delete = var.delete_timeout
}
parameters = {
service-endpoints = var.service_endpoints
throughput = var.throughput
storage_size = var.storage_size
kms_key_crn = var.kms_key_crn
}
}
Resource controller can't able to update service-endpoint for event-stream instance
Terraform CLI and Terraform IBM Provider Version
Running on schematics workspace - ibm-cloud/ibm v1.68.0
Affected Resource(s)
Terraform Configuration Files
Debug Output
EventSTream-Apply-Output.txt
Panic Output
Output is expected.
Expected Behavior
I observed schematics workspace can't update service endpoint of event-stream.Even the output is saying it's updated the instance still in it's previous state.
Actual Behavior
Workspace should update event stream service-endpoint to expected one.
References
https://github.com/IBM-Cloud/terraform-provider-ibm/blob/eb562182f3593fb57cb212ebea0168c3d9af969a/ibm/service/resourcecontroller/resource_ibm_resource_instance.go#L750
https://github.com/IBM-Cloud/terraform-provider-ibm/blob/eb562182f3593fb57cb212ebea0168c3d9af969a/ibm/service/resourcecontroller/resource_ibm_resource_instance.go#L741