Terraform : Error locking state sur S3

hrenaud 05/03/2026
RÉSOLU
hrenaud
Auteur Actif Secouriste
Avatar de hrenaud
hrenaud
Auteur Actif Secouriste

slt mon terraform apply a planté et mtn je suis lock. je peux plus rien faire sur mon infra

Error: Error acquiring the state lock
ID: 1234-5678-9012
05/03/2026 à 08:06

3 commentaires

uroger
Membre Actif Secouriste
Avatar de uroger
uroger
Membre Actif Secouriste

va dans ta table dynamodb et supprime la ligne qui correspond à l'id du lock

06/03/2026 à 06:17
moreno-marianne
Membre Actif
Avatar de moreno-marianne
moreno-marianne
Membre Actif

plus simple, utilise la commande faite pour ça

terraform force-unlock 1234-5678-9012
07/03/2026 à 02:06
hrenaud
Auteur Actif Secouriste
Avatar de hrenaud
hrenaud
Auteur Actif Secouriste

le force-unlock m'a sauvé. merci

07/03/2026 à 22:31

Laisser une réponse

Vous devez être connecté pour poster un message !

Rejoindre la communauté

Recevoir les derniers articles gratuitement en créant un compte !

S'inscrire
An Error Occurred: Internal Server Error

Oops! An Error Occurred

The server returned a "500 Internal Server Error".

Something is broken. Please let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused.