4 ms·
If you're using terraform with multiple people and are having problems keeping the state in sync I would suggest looking at remote terraform backends and state
by vbsteven 6y ago
If you're using terraform with multiple people and are having problems keeping the state in sync I would suggest looking at remote terraform backends and state locking.
For example on AWS we use the s3 backend and a dynamodb table for locking. This way when terraform runs it will first acquire the lock, and then access the state on s3. And everyone is working on the same state.