Interview Prep/Terraform/Authentication and Cloud API Errors

`SignatureDoesNotMatch` / `Signature expired: ... is now earlier than ...` on a VM-based runner.

BeginnerTroubleshootingAuthentication and Cloud API Errors
Answer

Likely causes → Clock skew: the runner's clock is off by more than 5 minutes; or a secret key with copy-paste whitespace.

Diagnose → date -u vs real time; timedatectl status.

Fix → Enable NTP (timedatectl set-ntp true, chrony), or fix the secret value.

Prevent → Use OIDC instead of static keys, and keep runner images with time sync enabled.

All Terraform questions

More on Authentication and Cloud API Errors