Mark Pearl
  • init
  • import
  • apply
  • plan
  • destroy

Getting terraform states

terraform init # creates a .terraform folder with empty states terraform import XXXXXXXXXXXXXX # module folder > ps ledger name >

Check out to figure out path

It doesn’t matter how many files are in the folder, these files are collapsed into one file

How to get the state back

terraform import - tells terraform that the state is held remotely

blog comments powered by Disqus

Want to get my personal insights on what I learn as I learn it? Subscribe now!