Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Terraform CLI and Terraform IBM Provider Version
Terraform v1.5.7
Provider 1.67.1
Affected Resource(s)
ibm_logs_outgoing_webhook
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
resource "ibm_logs_outgoing_webhook" "en_integration" {
for_each = { for idx, en in var.existing_en_instances : idx => en }
instance_id = ibm_resource_instance.cloud_logs[0].guid
region = var.region
name = each.value.en_instance_name == null ? "${local.instance_name}-en-integration-${each.key}" : each.value.en_instance_name
type = "ibm_event_notifications"
ibm_event_notifications {
event_notifications_instance_id = each.value.en_instance_id
region_id = each.value.en_region
source_id = each.value.source_id
source_name = each.value.source_name
}
}
Community Note
Terraform CLI and Terraform IBM Provider Version
Terraform v1.5.7 Provider 1.67.1
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Complete code https://github.com/terraform-ibm-modules/terraform-ibm-observability-instances/blob/2a3cafc0ab6054b1ad782aec64f9f49d5d02e5e9/modules/cloud_logs/main.tf#L97
Debug Output
Panic Output
Expected Behavior
terraform destroy should be successful.
Actual Behavior
Terraform destroy fails with the above error.
Steps to Reproduce
This is an intermittent issue if we have a outgoing webhook configured for the cloud logs, then while terraform destroy the operation fails.
terraform destroy
Important Factoids
References
0000