## TL;DR

This was an API-side problem, not a misconfigured edgerc or enrollment ID. Resolved by an API-side fix from Akamai: the reporter confirmed the data source works again with no provider upgrade needed.

## Steps

1. data.akamai_cps_csr fails with: could not get enrollment: fetching enrollment: request failed: unexpected EOF. The provider's CPS data source could not fetch the certificate enrollment from the Akamai API. This was an API-side problem, not a misconfigured edgerc or enrollment ID.

2. Resolved by an API-side fix from Akamai: the reporter confirmed the data source works again with no provider upgrade needed. If you hit unexpected EOF from data.akamai_cps_csr, retry after a short wait before assuming your configuration is wrong; the enrollment API was intermittently returning truncated responses.

## When to use

You are seeing this: data.akamai_cps_csr fails with: could not get enrollment: fetching enrollment: request failed: unexpected EOF. Use this skill when you run into "Akamai Terraform: akamai_cps_csr fails with unexpected EOF".

## When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

## Versions

No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.

## Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
