# Resolving Terraform Observe Provider Client.Timeout exceeded while awaiting headers

**URL:** <https://community.observeinc.com/t/resolving-terraform-observe-provider-client-timeout-exceeded-while-awaiting-headers/199>\
**Category:** General / Other\
**Tags:** api, troubleshooting, kb, terraform\
**Created:** [September 15, 2025, 9:17pm UTC](https://community.observeinc.com/t/resolving-terraform-observe-provider-client-timeout-exceeded-while-awaiting-headers/199 "2025-09-15T21:17:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vijays](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.observeinc.com/vijays/32/79_2.png) [@vijays](https://community.observeinc.com/u/vijays)\
**Post date:** [September 15, 2025, 9:17pm UTC](https://community.observeinc.com/t/resolving-terraform-observe-provider-client-timeout-exceeded-while-awaiting-headers/199/1 "2025-09-15T21:17:56Z")

</div>

## **Overview**

When using the Terraform Observe provider to manage resources in Observe, you may encounter an error similar to:

```auto
Error: failed to create monitor: Post "https://<ID>.observeinc.com/v1/meta": net/http: request canceled (Client.Timeout exceeded while awaiting headers)

```

This error typically occurs when the HTTP client in the Terraform provider times out while waiting for a response from the Observe API. This can happen due to network latency, large data transfers, or slow API responses. To address this, you can configure the `http_client_timeout` parameter in the Observe provider block to increase the timeout duration.

## **Solution: Configuring http\_client\_timeout**

The `http_client_timeout` parameter in the Terraform observe provider specifies the maximum time the HTTP client waits for a response from the Observe API. By default, this value may be too low for certain operations, especially those involving large datasets or complex queries. Setting it to a higher value, such as 10m (10 minutes), can help resolve the timeout error.

### **Step-by-Step Instructions**

1. **Locate or Create the Provider Block** : In your Terraform configuration (e.g., `main.tf` or `provider.tf`), find the provider “`observe`” block. If it doesn’t exist, add one.

2. **Set the** `http_client_timeout` **Parameter** : Add or update the `http_client_timeout` attribute within the observe provider block. Specify the timeout duration in a format like 10m (10 minutes).
