Hi Trond,

the state file is fully managed by Terraform. Normally there is no need to manually interact with it. Storing it in a repo, in my opinion, is not the best way to do it:

  • every change would result in a commit (pipeline run, manually chance).

Furthermore, the state file contains secrets and therefore needs to be stored in a secure manner.

Using Artifacts or Pipeline caching might be an option but storing it in a Blob for me was the best option.

Greets Nico

--

--

Doing #CloudNative, #Kubernetes & #Azure at @whiteduck_gmbh. 👨‍💻☁️ #MSFT MVP, #GitLab Hero, blogger & speaker. #CoffeeAddicted ☕️

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store